Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to group targets #1172

Closed
AntoineJT opened this issue Dec 26, 2020 · 1 comment
Closed

Add ability to group targets #1172

AntoineJT opened this issue Dec 26, 2020 · 1 comment

Comments

@AntoineJT
Copy link

Is your feature request related to a problem? Please describe.

I'm using Visual Studio and I would like to group targets by putting them into virtual folders, to avoid my workspace being a complete mess. You can look at what Premake 5 does here: https://github.com/premake/premake-core/wiki/group

Describe the solution you'd like

I think the way Premake handles this is not the best way to do.
I think it can be better handled by doing as target does:

group("name")
    target("first_target")
        ...
    target("second_target")
        ...
group_end()

Describe alternatives you've considered

Alternatively, it may be handled like this:

target("first_target")
    ...
target("second_target")
    ...
target_end()

group("name", "first_target", "second_target")
#or
group("name", {"first_target", "second_target"})

or maybe it can be handled the same way as Premake does, but I think the better solution here for users would be the first I propose.

Additional context

Here is a preview of virtual folders in Visual Studio, using an old version of NazaraEngine that I found on my hard drive.
image

@AntoineJT
Copy link
Author

AntoineJT commented Dec 26, 2020

Sorry for the duplicate of #1026.
I'm closing this issue and bringing my ideas to the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant