[Paraview] Getting CMake to Use Initial Cache File
Brad King
brad.king at kitware.com
Tue Mar 15 08:12:19 EST 2005
Kent Eschenberg wrote:
> I've had good success getting CMake to use a cache initialization file
> with a command like
>
> cmake -DVTK_USE_MPI:BOOL=1
> -DCMAKE_CXX_FLAGS:STRING
> ="-D__USE_STD_IOSTREAM -pthread"
> -DCMAKE_C_FLAGS:STRING="-pthread"
> -c FixupLemieuxMPI.txt ../src
>
> The "-D" options were added because CMake seems to ignore these values
> when they are in the initialization file (a bug report has been filed).
>
> Continuing: I'm now working on compiling with MPI and so added almost a
> dozen more settings to the cache initialization file. And CMake ignores
> every single one of them!
>
> I've attached this initialization file. Does anyone see what I've done
> wrong?
The option to use an initial cache file is a captial "-C" not a little "-c".
-Brad
More information about the ParaView
mailing list