[Cmake] feature request - separate user and system cmake cache files
Bill Hoffman
bill.hoffman at kitware.com
Tue Mar 11 16:25:06 EST 2003
I see the problem.
In VTK421.cmake, you need to change the sets to look like this:
SET(BUILD_EXAMPLES ON CACHE BOOL "doc" FORCE)
-Bill
At 03:28 PM 3/11/2003, 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.
>
>Tony
>
>
>
>
>
>-----Original Message-----
>From: Ken Martin [mailto:ken.martin at kitware.com]
>Sent: Tuesday, March 11, 2003 2:19 PM
>To: tpan at bmi.osu.edu; cmake at public.kitware.com
>Subject: RE: [Cmake] feature request - separate user and system cmake
>cache files
>
>
>Hey Tony,
>
>Please provide an example of a value that does not work. As far as I
>know either C or -D should work. In fact I use both so I know for the
>values Im setting they work fine. I would like to fix any problems that
>exist with these approaches.
>
>Thanks
>Ken
>
>> I tried the solutions you suggested. The -C and -D approaches do not
>work for me in that the
>> values get overridden during the cmake configure process.
>
>
>
More information about the CMake
mailing list