[Paraview] Getting ParaView Version in Cmake

clinton at elemtech.com clinton at elemtech.com
Thu Jun 21 12:19:01 EDT 2007


The variables
PARAVIEW_VERSION_MAJOR
PARAVIEW_VERSION_MINOR
should be available for you to use.

Clint

On Thursday 21 June 2007 10:00:40 am Mike Jackson wrote:
> 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.
>
> THanks
> --
> Mike Jackson
> imikejackson & gmail * com
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview




More information about the ParaView mailing list