-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix Win Packaging - changed project name from default to SlicerCAT
SlicerCustomAppTemplate (as a project name) generates paths files to long to package on Windows. See details: KitwareMedical/SlicerCustomAppTemplate#15
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 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,15 +1,15 @@ | ||
#!/bin/bash | ||
|
||
#remove previous source and build directories | ||
rm -rf /d/D/P/SlicerCustomAppTemplate | ||
rm -rf /d/D/P/SC-0-build | ||
rm -rf /d/D/P/SlicerCAT | ||
#rm -rf /d/D/P/SC-0-build | ||
|
||
#generate app in dashboard tree with default values | ||
cd /d/D/P | ||
cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate --no-input | ||
cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate --no-input project_name="SlicerCAT" | ||
|
||
#copy ctestconfig - TODO: can I just set these in the cmake script? | ||
cp /d/D/CustomAppScripts/CTestConfig.cmake /d/D/P/SlicerCustomAppTemplate/CTestConfig.cmake | ||
cp /d/D/CustomAppScripts/CTestConfig.cmake /d/D/P/SlicerCAT/CTestConfig.cmake | ||
|
||
#launch build using cmake script | ||
ctest -S /d/D/CustomAppScripts/sam-vs2017-slicercat_preview_nightly.cmake -C RelWithDebInfo -VV -O /d/D/Logs/sam-vs2017-slicercat_preview_nightly.txt |