[CMake] Must the main config file be named MakeLists.txt ?
Brad King
brad.king at kitware.com
Fri May 12 10:10:21 EDT 2006
Sylvain Benner wrote:
> We want to be able to put several main config file in the same directory
> this involve that we can specifiy a main config file as an argument. Is
> this possible ? I don't want to modify the cmake executable but I can
> easily change the GUI to browse for file instead of path.
> An alternative is to create a folder for each MakeLists.txt but if there
> is a way to put several config files in the same directory, I will be
> happy to hear about that.
> If you have another solution to achieve the same goal, please let me know.
What is the goal? You can always write a CMakeLists.txt file that just
uses the INCLUDE command to include another file that is specified by
the user in a cache entry.
-Brad
More information about the CMake
mailing list