[CMake] Re: Cmake and external build GUI

Francesco Montorsi f18m_cpp217828 at yahoo.it
Wed Jul 19 15:01:46 EDT 2006


Hi,

Brad King ha scritto:
> This can be done with the command-line "cmake" executable.  See "cmake
> --help" for a complete list of options.
> 
> 1.) Set the current working directory to the desired build tree.
> 2.) Pass the source tree directory as the first argument to cmake.
> 3.) Use the -G"NMake Makefiles" option to set the generator.
> 4.) Use zero or more -DOPTION_NAME:TYPE=VALUE options to set the
> user-selected options in the cache.
Thanks a lot !

I was unsure about description of -D option "Create a cmake cache entry" 
but now I have no more doubts.

Thanks indeed,
Francesco



More information about the CMake mailing list