mkdir -p $generationdir
mkdir -p $generationdir/creatools_source
mkdir -p $generationdir/creatools_bin
- mkdir -p $generationdir/creatools_install
fi
cd $generationdir
then
rm -rf creatools_source
rm -rf creatools_bin
- rm -rf creatools_install
+ rm -rf ci
mkdir -p $generationdir/creatools_source
fi
fi
# mv $libidosource-ESRF $libidosource
cd $generationdir/creatools_source/$creasource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$bbtksource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creavtksource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creamaracassource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creabrukersource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creaimagesource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creacontourssource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$crearigidregistrationssource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$bbtkgeditorsource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creatoolssource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creaenvironmentsource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creaminitoolssource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
cd $generationdir/creatools_source/$creatoolstoolssource
- git checkout vtk8itk5wx3-macos
+ git checkout vtk9itk5wx3-macos
fi
if [ $sourcesFrom = HTML ]
cd $binfolder
- if [ $OperatingSystem = "MacOS" ]
- then
- cmake -D CMAKE_CXX_COMPILER:FILE=/usr/bin/g++
-## /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-
- cxxFlags='-fPIC -std=c++11 -Xclang -fopenmp=libomp '
- elif
- cxxFlags='-fPIC -std=c++11 -fopenmp '
- fi
+cxxFlags='-fPIC '
# TDx is declared in: CreaTools-configure.sh
if [ "$TDx" == "ON" ]; then
- cxxFlags=$cxxFlags'-F/Library/Frameworks -DVTK_USE_TDX '
+ cxxFlags=$cxxFlags' -F/Library/Frameworks -DVTK_USE_TDX '
fi
cmake -D CMAKE_CXX_FLAGS:STRING="$cxxFlags" CMakeCache.txt
binfolder=$2/creatools_bin/$1Bin
cd $binfolder
-
-
- if [ $OperatingSystem = "MacOS" ]
- then
- cxxFlags='-fPIC -Xclang -fopenmp=libomp '
- elif
- cxxFlags='-fPIC -fopenmp '
- fi
-
-
+cxxFlags='-fPIC '
# TDx is declared in: CreaTools-configure.sh
if [ "$TDx" == "ON" ]; then
- cxxFlags=$cxxFlags'-F/Library/Frameworks '
+ cxxFlags=$cxxFlags' -F/Library/Frameworks '
fi
cmake -D CMAKE_CXX_FLAGS:STRING="$cxxFlags" CMakeCache.txt