I have a large project with dozens of “modules” that are standalone (think plugins). Each module is sitting in its own folder. I want to generate a separate build target for each folder (loop rather than hardcoded), along with a single target that builds everything.
Since Premake is a Lua program is this possible? Can I just write some sort of loop in Lua with the body of the loop defining the project settings? I can’t seem to find any examples or references to get started.
Simple project structure with root project and one sub-project per sub-folder.
MyProject
-Plugin1
-Plugin2
-Plugin3
-Plugin...