On Sunday 22 September 2013, Lucas Soltic wrote:
Hello,
Is it possible to add files that do not belong to any
add_executable/library so that they're visible in the IDE but not used for
building? That way I could easily work with the generated project on any
useful file, even if it's not
Hello,
Is it possible to add files that do not belong to any add_executable/library so
that they're visible in the IDE but not used for building?
That way I could easily work with the generated project on any useful file,
even if it's not directly used to produce binaries (for example, editing
Hi Lucas,
You could use the source_group command. See
http://www.cmake.org/cmake/help/v2.8.11/cmake.html#command:source_group
For example of usage, see [1]
Hth
Jc
[1]
https://github.com/commontk/CTK/blob/dcf7db15f2b43507395316dd680dba5999f886b4/CMake/ctkMacroBuildLib.cmake#L117-127
On Sun,