[Paraview] Getting ParaView Version in Cmake

Mike Jackson imikejackson at gmail.com
Thu Jun 21 12:00:40 EDT 2007

I am updating a plugin from PV 2.x to PV 3 and I would like to be  
able to keep some backwards compatibility to the 2.x series. Is there  
a way in my <ModuleName>ParaViewImport.cmake file to detect if  
ParaView 2 or 3 is being compiled? There are just enough small  
differences that I think this might be the best way rather than  
duplicating most of the code into another project directory and  
starting off fresh.

Mike Jackson
imikejackson & gmail * com

More information about the ParaView mailing list