Hi
I have a project which has a multitude of different files:
cu, xsd, cpp, h
I built a rather complex build system to cope with all of them, but for
Visual Studio users, this is not yet good enough: The files which are
not included in an add_executable are not visible in the Visual Studio
solution/project which is quite a pain. For header files this is no
problem because I can just add them to the executable/library, but for
xsd and other files, this is a problem as Visual Studio actually invokes
some tools on the files which it should not.
I then tried to add the files using source_group() - and this did not
work: Only files which are listed as sources in ADD_EXECUTABLE or
ADD_LIBRARY are added to the source group, the others aren't.
How can I avoid this problem?
Thanks
Benjamin Schindler
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake