Re: [CMake] How to pass a configuration file to CMake?

2016-01-21 Thread Chuck Atkins
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

Re: [CMake] How to pass a configuration file to CMake?

2016-01-21 Thread Petr Kmoch
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

Re: [CMake] How to pass a configuration file to CMake?

2016-01-21 Thread Chuck Atkins
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 : >> &

Re: [CMake] How to pass a configuration file to CMake?

2016-01-21 Thread Petr Kmoch
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

Re: [CMake] How to pass a configuration file to CMake?

2016-01-21 Thread Xavier Besseron
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

Re: [CMake] How to pass a configuration file to CMake?

2015-12-21 Thread Petr Kmoch
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

[CMake] How to pass a configuration file to CMake?

2015-12-21 Thread Cedric Doucet
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,

Re: [CMake] How to pass a configuration file to CMake?

2015-12-21 Thread Cedric Doucet
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