[Paraview] Adding Compile Flags

Kent Eschenberg eschenbe at psc.edu
Fri Feb 24 14:07:12 EST 2006


How can I add a compile flag without changing the files distributed with 
ParaView?

The flag would be something like "-DMY_FLAG". Using "ADD_DEFINITIONS" in 
the appropriate CMakeLists.txt file in the source tree works. But, I have 
to do this again for every new release.

I would like to add it via a cache initialization file but including the 
command "ADD_DEFINITIONS" there does nothing. Is there another command that 
does the trick?

Thanks in advance!

Kent
Pittsburgh Supercomputing Center



More information about the ParaView mailing list