On Tue, Jun 30, 2009 at 03:10:41PM +0200, Benjamin Schindler wrote: > 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.
What do you mean by "Visual Studio actually invokes some tools on the files which it should not"? What happens when you add these sources to your add_*() command? Does it help to mark those files as HEADER_FILE_ONLY? http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_sf:HEADER_FILE_ONLY tyler _______________________________________________ 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
