[CMake] Visual Studio: Add file to project without compiling it
Eric Noulard
eric.noulard at gmail.com
Tue Oct 21 04:37:56 EDT 2008
2008/10/21 Matthias Riechmann <riechmann at ira.uka.de>:
> Yes, I already tried that without detecting any effect. Seems like VS is
> quite persistent on files it thinks to be able to handle by itself.
This is odd, I did succeed to add non source file to a CMake generated
VS project, as soon as the file was added to ADD_EXECUTABLE
and set_source_files_properties etc....
If it is not working for you it looks like a bug you should report.
Would you send us a strip down non-working project example
may be with a single CMakeLists.txt and 1 source and 1 non source file
with a single 1 executable.
By the way, which version of CMake are you using?
> I will have a look on your feature request.
> Thanks a lot for your effords!
You're welcome :=)
--
Erk
More information about the CMake
mailing list