his problem?
>
> - Cedric Doucet <cedric.dou...@inria.fr> a écrit :
> >
>
> Hi Peter!
>
> Thank you very much!
> It seems to be exactly what I want. :)
> I will try to use it.
>
> Cédric
>
> ----------
>
> *De: *"P
t;
> Cédric
>
> ----------
>
> *De: *"Petr Kmoch" <petr.km...@gmail.com>
> *À: *"Cedric Doucet" <cedric.dou...@inria.fr>
> *Cc: *cmake@cmake.org
> *Envoyé: *Lundi 21 Décembre 2015 13:25:53
> *Objet: *Re: [CMake] How to p
CACHE mode.
>>
>>
>> CMake Error: The source directory "/local/cdoucet/simol/config.cmake" is
>> a file, not a directory.
>>
>>
>> Do you know how to solve this problem?
>>
>> ----- Cedric Doucet <cedric.dou...@inria.fr> a écrit :
>> &
lid arguments for CACHE mode.
>>
>>
>> CMake Error: The source directory "/local/cdoucet/simol/config.cmake" is
>> a file, not a directory.
>>
>>
>> Do you know how to solve this problem?
>>
>> ----- Cedric Doucet <cedric.dou...@inria.fr> a éc
problem?
>
> - Cedric Doucet <cedric.dou...@inria.fr> a écrit :
> >
>
> Hi Peter!
>
> Thank you very much!
> It seems to be exactly what I want. :)
> I will try to use it.
>
> Cédric
>
> ----------
>
> *De: *"Petr Kmo
Hi Cedric.
I have never used it myself, but I believe you're looking for CMake's
command-line option '-C ':
https://cmake.org/cmake/help/latest/manual/cmake.1.html
Petr
On Mon, Dec 21, 2015 at 1:12 PM, Cedric Doucet
wrote:
>
> Hello,
>
> I would like to know if it's
Hello,
I would like to know if it's possible to pass a configuration file to CMake.
I have to pass a lot of information to CMake and the resulting command line is
very long to type.
Would it be possible to create a file containing all needed definitions and
pass it to CMake?
For exemple,
Lundi 21 Décembre 2015 13:25:53
> Objet: Re: [CMake] How to pass a configuration file to CMake?
> Hi Cedric.
> I have never used it myself, but I believe you're looking for CMake's
> command-line option '-C ':
> https://cmake.org/cmake/help/latest/manual/cmake.1.html
> Petr