premake / premake-core

Premake
https://premake.github.io/
BSD 3-Clause "New" or "Revised" License
3.2k stars 618 forks source link

How can I create subgroups within a group? #2164

Closed luizfernandonb closed 10 months ago

luizfernandonb commented 10 months ago

I have a project with the following folders: src/admin/base

The solution is inside the src folder, and I have already created the group for the admin folder, but how do I also create a group in the base folder?

I've tried

group "admin"
    group "base"
        project "..."

but it doesn't work, any ideas on how to solve this?

Jarod42 commented 10 months ago

indentation is just aesthetic in Lua

So you create an empty group "admin" followed by a group "base".

Maybe vpaths or directly group "admin/base"...