]> Creatis software - clitk.git/commitdiff
Add cluster_tool scripts in install
authorDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Fri, 26 Jul 2013 13:39:53 +0000 (15:39 +0200)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Fri, 26 Jul 2013 13:39:53 +0000 (15:39 +0200)
cluster_tools/CMakeLists.txt [new file with mode: 0644]
tools/CMakeLists.txt

diff --git a/cluster_tools/CMakeLists.txt b/cluster_tools/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ed8288b
--- /dev/null
@@ -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)
index a1c6bf38af0aed03788b1c38346bf05b02d23a8b..6d70fc3e80f0e65b3b9d672997c49b049d915e40 100644 (file)
@@ -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)