[CMake] Must the main config file be named MakeLists.txt ?

Sylvain Benner benner at virtools.com
Wed May 17 06:14:44 EDT 2006


Thank you Brad, it is a perfect solution.

SB

----- Original Message ----- 
From: "Brad King" <brad.king at kitware.com>
To: "Sylvain Benner" <benner at virtools.com>
Cc: <cmake at cmake.org>
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
> 



More information about the CMake mailing list