From: David Sarrut Date: Fri, 26 Jul 2013 13:39:53 +0000 (+0200) Subject: Add cluster_tool scripts in install X-Git-Tag: v1.4.0~164^2~6 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1fcee455f4a6948753d21bacff9b0b72b064667a;hp=6873859d071b5bcdb650bfd42a0ee5cde6e93f09;p=clitk.git Add cluster_tool scripts in install --- diff --git a/cluster_tools/CMakeLists.txt b/cluster_tools/CMakeLists.txt new file mode 100644 index 0000000..ed8288b --- /dev/null +++ b/cluster_tools/CMakeLists.txt @@ -0,0 +1,15 @@ +#========================================================= +# Install scripts when running make install +SET(SCRIPTS + gate_job_cluster.job + gate_make_merge_release.sh + gate_make_release.sh + gate_power_merge.sh + gate_run_submit_cluster.sh + gate_upload_release.sh + mergeDosePerEnergyFile.sh + mergeStatFile.py + mergeStatFile.sh +) + +INSTALL (FILES ${SCRIPTS} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index a1c6bf3..6d70fc3 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -26,6 +26,11 @@ ADD_LIBRARY(clitkMedianImageFilterLib clitkMedianImageGenericFilter.cxx ${clitkM #========================================================= IF (CLITK_BUILD_TOOLS) + + #========================================================= + # install scripts + ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/cluster_tools ${PROJECT_BINARY_DIR}/cluster_tools) + WRAP_GGO(clitkDicomInfo_GGO_C clitkDicomInfo.ggo) ADD_EXECUTABLE(clitkDicomInfo clitkDicomInfo.cxx ${clitkDicomInfo_GGO_C}) TARGET_LINK_LIBRARIES(clitkDicomInfo clitkCommon)