Skip to content

Commit

Permalink
BUG: Fix Win Packaging - changed project name from default to SlicerCAT
Browse files Browse the repository at this point in the history
SlicerCustomAppTemplate  (as a project name) generates paths files to 
long to package on Windows.  See details:
KitwareMedical/SlicerCustomAppTemplate#15
  • Loading branch information
sjh26 committed Feb 10, 2020
1 parent ea0d704 commit dde9cd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sam-vs2017-slicercat_preview_nightly.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dashboard_set(Slicer_DIRECTORY_BASENAME "SC")
dashboard_set(Slicer_DASHBOARD_SUBDIR "${Slicer_RELEASE_TYPE}")
dashboard_set(Slicer_DIRECTORY_IDENTIFIER "0") # Set to arbitrary integer to distinguish different Experimental/Preview release build
# Set to Slicer version XYZ for Stable release build
dashboard_set(CTEST_SOURCE_DIRECTORY "D:/D/P/SlicerCustomAppTemplate")
dashboard_set(CTEST_SOURCE_DIRECTORY "D:/D/P/SlicerCAT")
# Build Name: <OPERATING_SYSTEM>-<COMPILER>-<BITNESS>bits-QT<QT_VERSION>[-NoPython][-NoCLI][-NoConsole][-NoVTKDebugLeaks][-<BUILD_NAME_SUFFIX>]-<CTEST_BUILD_CONFIGURATION
set(BUILD_NAME_SUFFIX "")

Expand Down
8 changes: 4 additions & 4 deletions slicer_custom_app_nightly.sh
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

0 comments on commit dde9cd7

Please sign in to comment.