then
cmake -D ITKV3_COMPATIBILITY:BOOL=ON -D ITKGroup_Nonunit:BOOL=ON -D ITKGroup_IO:BOOL=ON -D Module_ITK-Deprecated:BOOL=ON -D Module_ITK-Review:BOOL=ON CMakeCache.txt
fi
+ cmake -D CMAKE_CXX_FLAGS:STRING='-std=c++03' CMakeCache.txt
+
#uncomment following line if you want to use the bleeding edge of GDCM2!
#cmake -D ITK_USE_SYSTEM_GDCM:BOOL=ON CMakeCache.txt
cmake CMakeCache.txt
- make -j $corenumber
+ make -j
make install
cd ..
fi
##EED19mai2015 wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/vtk-5.10.1.vtkXOpenGLRenderWindow.patch
wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/vtk-5.10.1.vtkXOpenGLRenderWindow.patch
patch < vtk-5.10.1.vtkXOpenGLRenderWindow.patch
+
+ cd ../CMake
+ wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/vtk-5.10.1.vtkCompilerExtras.cmake-PATCH
+ patch < vtk-5.10.1.vtkCompilerExtras.cmake-PATCH
+
fi
fi
cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D VTK_USE_QT:BOOL=ON CMakeCache.txt
- make -j $corenumber
+ cmake -D CMAKE_CXX_FLAGS:STRING='-std=c++03' CMakeCache.txt
+
+##EED 2016-12-22 make -j $corenumber
+ make -j
make install
cd ..
fi
cmake -D CMAKE_BUILD_TYPE:STRING=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
cmake -D VTK_DIR:PATH=$VTK_DIR CMakeCache.txt
cmake -D GDCM_VTK:BOOL=ON -D GDCM_NAME_SPACE:STRING=gdcm13 CMakeCache.txt
- make -j $corenumber
+ cmake -D CMAKE_CXX_FLAGS:STRING='-std=c++03' CMakeCache.txt
+ make -j
make install
cd ..
fi