-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build VMTK with VTK 9 and ITK 5. Update python versions to all supported
- Loading branch information
1 parent
05f30e4
commit 0881221
Showing
4 changed files
with
97 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
#!/bin/bash | ||
thisdir=$(readlink -f $(dirname $BASH_SOURCE)) | ||
. $thisdir/cmake_help.sh | ||
|
||
declare -A D | ||
|
||
cmake \ | ||
-B build \ | ||
-S itk \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DBUILD_EXAMPLES:BOOL=OFF \ | ||
-DBUILD_TESTING:BOOL=OFF \ | ||
-DITK_USE_REVIEW:BOOL=ON \ | ||
-DITK_USE_REVIEW_STATISTICS:BOOL=ON \ | ||
-DITK_USE_OPTIMIZED_REGISTRATION_METHODS:BOOL=ON \ | ||
-DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF | ||
D[CMAKE_INSTALL_PREFIX]=$INSTALL_PREFIX | ||
D[CMAKE_BUILD_TYPE]=Release | ||
D[BUILD_SHARED_LIBS]=ON | ||
D[BUILD_EXAMPLES]=OFF | ||
D[BUILD_TESTING]=OFF | ||
D[CMAKE_BUILD_WITH_INSTALL_RPATH]=OFF | ||
D[CMAKE_INSTALL_RPATH_USE_LINK_PATH]=TRUE | ||
|
||
# From Superbuild ITK 5 | ||
D[ITK_LEGACY_REMOVE]=OFF #<-- Allow LEGACY ITKv4 features for now. | ||
D[ITK_LEGACY_SILENT]=ON #<-- Use of legacy code will produce compiler warnings | ||
D[Module_ITKDeprecated]=ON #<-- Needed for ITKv5 now. (itkMultiThreader.h and MutexLock backwards compatibility.) | ||
D[Module_ITKReview]=OFF | ||
|
||
mkdir -p build | ||
cd build | ||
|
||
run_cmake D ../itk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.