[CMake] How to exclude CMakeLists.txt from generated projects?

Sebastian Schuberth sschuberth at gmail.com
Thu Jul 19 11:40:58 EDT 2007


Hi,

I'm using CMake to generate Visual Studio 2005 project files. By 
default, CMake seems to add the CMakeLists.txt file from which the 
projects was generated to the project itself. I'd like to avoid that. As 
the CMakeLists.txt is not part of the file list that I pass to e.g. 
ADD_LIBRARY, it seems to be added internally. Is there a way to stop that?

Thanks.

-- 
Sebastian Schuberth



More information about the CMake mailing list