[Paraview] ParaView Superbuild - changing default Paraciew cmake option

Su, Simon M CTR USARMY ARL (US) simon.m.su.ctr at mail.mil
Mon Oct 20 11:15:59 EDT 2014


Ben,

I ran cmake with

-DPV_EXTRA_CMAKE_ARGS:STRING="-DModule_vtkIOXdmf3:BOOL=ON -DBoost_NO_BOOST_CMAKE:BOOL=ON"

and check it with ccmake. Looks like -DModule_vtkIOXdmf3:BOOL=ON -DBoost_NO_BOOST_CMAKE:BOOL=ON made it into the variable PV_EXTRA_CMAKE_ARGS

It appears :STRING does the trick.

I am running the compile now. Hopefully that does the trick.

thanks
-simon

________________________________________
From: Ben Boeckel [ben.boeckel at kitware.com]
Sent: Friday, October 17, 2014 10:06 PM
To: Su, Simon M CTR USARMY ARL (US)
Cc: paraview at paraview.org
Subject: Re: [Paraview] ParaView Superbuild - changing default Paraciew cmake option

On Fri, Oct 17, 2014 at 17:41:58 +0000, Su, Simon M CTR USARMY ARL (US) wrote:
> When I do both argument in the same -DPV_EXTRA_CMAKE_ARGS, cmake also didn't like it.
> -DPV_EXTRA_CMAKE_ARGS="-DModule_vtkIOXdmf3:BOOL=ON -DBoost_NO_BOOST_CMAKE:BOOL=ON"
>
> I am getting
> CMake Warning:
>   Manually-specified variables were not used by the project:
>
>     PV_EXTRA_CMAKE_ARGS=-DModule_vtkIOXdmf3

Weird. It looks like the argument is being split at the colon? Playing
around with it a bit, it seems it's the shell's doing. Put the quotes
around the entire argument, not after the equals sign.

--Ben


More information about the ParaView mailing list