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 granularity to IDE folders #44

Closed
headupinclouds opened this issue Sep 5, 2016 · 4 comments
Closed

add granularity to IDE folders #44

headupinclouds opened this issue Sep 5, 2016 · 4 comments

Comments

@headupinclouds
Copy link
Collaborator

Currently library modules are built as static libraries and CMake adds "Source Files" and "Header Files" folders like this:

module
 |-- Source Files
 |-- Header Files

It would be nice to include an addition folder for subcategories, such as the gpu modules.

module
 |-- Source Files
 |-- Header Files
 |- gpu
      |-- Source Files
      |-- Header Files
@ruslo
Copy link
Collaborator

ruslo commented Sep 5, 2016

Are we talking about source_group here?

@headupinclouds
Copy link
Collaborator Author

@ruslo: Yes. Thanks. I'm not sure how this behaves in combination with set_property(TARGET ${library} PROPERTY FOLDER "some/module")

@ruslo
Copy link
Collaborator

ruslo commented Sep 5, 2016

I'm not sure how this behaves in combination with set_property(TARGET ${library} PROPERTY FOLDER "some/module")

Don't know, need to try. I was thinking about automatic groups creation long time ago. Worked something like this:

There was a Python module for generating CMake code. Too tricky, now I think it should be done in CMake itself :)

@headupinclouds
Copy link
Collaborator Author

Current IDE layout w/ source_group is working well enough for now. This is represented in #88.

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

No branches or pull requests

2 participants