[CMake] How to add non-source files to a Visual Studio project?
Eric Noulard
eric.noulard at gmail.com
Fri Oct 17 04:08:11 EDT 2008
Hi All,
I have a project which has a structure similar to:
project/src/lib1
/src/lib2
/src/app1
/src/app2
/initFiles
each subdir has its own CMakeLists.txt
the content of project/initFiles are files which are CONFIGUREd
(with CONFIGURE_FILE) and INSTALLed.
I want to make those files appear in the Visual Studio project tree.
I tried
SET_SOURCE_FILES_PROPERTIES(anInitFile.txt PROPERTIES HEADER_FILE_ONLY TRUE)
but with no success, do I miss something?
Those files dot not appear in any ADD_LIBRARY or ADD_EXECUTABLE arguments.
--
Erk
More information about the CMake
mailing list