[CMake] Changing the default name "CMakeLists.txt"

Sylvain Benner benner at virtools.com
Tue Aug 28 05:03:34 EDT 2007


Martin Lütken a écrit :
> Is it possible to change the default the default 
> filename "CMakeLists.txt" cmake looks for to something different ?
>  
> If not, then does anyone have an idea how hard it would be to add a 
> possiblity (command line option I guess) like that to the cmake source 
> code ?
>
No there is no possibilities to change it.
If you really want to, just use the file you want and in your 
CMakeLists.txt do :
INCLUDE("your file")

--Sylvain


More information about the CMake mailing list