[Cmake] feature request - separate user and system cmake cache files

Andy Cedilnik andy.cedilnik at kitware.com
Tue Mar 11 16:29:12 EST 2003


Hi Tony,

The file should look like this:

BUILD_EXAMPLES:BOOL=ON
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTING:BOOL=ON

...

			Andy

On Tue, 2003-03-11 at 15:28, Tony Pan wrote:
> I tried to configure vtk 4.2.1 using cmake 1.6.5.  I created
> VTK421.cmake file, which just sets a bunch of name-value pairs for the
> options I want.  The file is attached.  When I run "cmake -CVTK421.cmake
> vtksrcdir", the generated CMakeCache.txt has only the default values
> from CMakeLists.txt.
> 
> I tried "cmake -DVTK_USE_HYBRID:BOOL=ON".  This works, the syntax is
> different than what you quoted.  The user's guide has the correct
> syntax, as above.  This is why I had trouble earlier.  The command line
> is going to be pretty long....
> 
> Thanks for your help.




More information about the CMake mailing list