Thank you Brad, it is a perfect solution.

SB

----- Original Message ----- From: "Brad King" <[EMAIL PROTECTED]>
To: "Sylvain Benner" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, May 12, 2006 4:10 PM
Subject: Re: [CMake] Must the main config file be named MakeLists.txt ?


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


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to