Last active
November 29, 2023 20:43
-
-
Save jcfr/107aa2a6af08a7277c7afcb99c8efd2a to your computer and use it in GitHub Desktop.
Convenience batch scripts for building Slicer, SlicerVirtualReatity and SlicerMixedReality extensions
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
set cmake_exe=C:\cmake-3.22.1\bin\cmake.exe | |
set root_dir=C:\P | |
set source_dir=%root_dir%\S | |
set build_dir=%root_dir%\S-rwdi | |
set build_type=RelWithDebInfo | |
cd %root_dir% | |
%cmake_exe% -G "Visual Studio 17 2022" -A x64 ^ | |
-DQt5_DIR:PATH=C:\Qt2\5.15.1\msvc2019_64\lib\cmake\Qt5 ^ | |
-DSlicer_USE_SimpleITK:BOOL=OFF ^ | |
-DSlicer_BUILD_CLI:BOOL=OFF ^ | |
-DBUILD_TESTING:BOOL=OFF ^ | |
-S %source_dir% ^ | |
-B %build_dir% | |
%cmake_exe% --build %build_dir% --config %build_type% -- /maxcpucount:8 |
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
set cmake_exe=C:\cmake-3.22.1\bin\cmake.exe | |
set root_dir=C:\P | |
set source_dir=%root_dir%\SMR | |
set build_dir=%root_dir%\SMR-rwdi | |
set build_type=RelWithDebInfo | |
set slicer_dir=%root_dir%\S-rwdi/Slicer-build | |
cd %root_dir% | |
%cmake_exe% -G "Visual Studio 17 2022" -A x64 ^ | |
-DSlicer_DIR:PATH=%slicer_dir% ^ | |
-S %source_dir% ^ | |
-B %build_dir% | |
%cmake_exe% --build %build_dir% --config %build_type% -- /maxcpucount:8 |
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
set cmake_exe=C:\cmake-3.22.1\bin\cmake.exe | |
set root_dir=C:\P | |
set source_dir=%root_dir%\SVR | |
set build_dir=%root_dir%\SVR-rwdi | |
set build_type=RelWithDebInfo | |
set slicer_dir=%root_dir%\S-rwdi/Slicer-build | |
cd %root_dir% | |
%cmake_exe% -G "Visual Studio 17 2022" -A x64 ^ | |
-DSlicer_DIR:PATH=%slicer_dir% ^ | |
-S %source_dir% ^ | |
-B %build_dir% | |
%cmake_exe% --build %build_dir% --config %build_type% -- /maxcpucount:8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment