[Insight-developers] Visual Studio 2012+ Parallelism

Brad King brad.king at kitware.com
Mon Feb 10 16:25:58 EST 2014


On Mon, Feb 10, 2014 at 4:08 PM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> "-DCMAKE_CXX_FLAGS:STRING=${CMAKE_CXX_FLAGS}\ /MP" to my cache variable

That will not work.  The string will be treated literally as desired flags.

Set CLFAGS and CXXFLAGS in the environment to tell CMake to add
the flags to the defaults.

-Brad K


More information about the Insight-developers mailing list