]> Creatis software - clitk.git/commitdiff
added new script to install
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Tue, 17 Apr 2012 08:19:16 +0000 (10:19 +0200)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Tue, 17 Apr 2012 08:19:16 +0000 (10:19 +0200)
CMakeLists.txt
cmake/build_opt.cmake
scripts/CMakeLists.txt [new file with mode: 0644]

index 4cd0dc9de7c8d8e4a4a27038a2d10f64e5fd8175..0c65b285c2ad73dad25ea45ee59dd8b76fd00002 100644 (file)
@@ -23,3 +23,4 @@ ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/common ${PROJECT_BINARY_DIR}/common)
 ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/tools ${PROJECT_BINARY_DIR}/tools)
 ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/segmentation ${PROJECT_BINARY_DIR}/segmentation)
 ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/registration ${PROJECT_BINARY_DIR}/registration)
+ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/scripts ${PROJECT_BINARY_DIR}/scripts)
index a8f10ee13386e604411783e7e1c6b06304d5d5fa..d7c60aa12268f5e0054119ea358ecb6feb856f5f 100644 (file)
@@ -34,21 +34,3 @@ IF(BUILD_TESTING)
   ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/tests ${PROJECT_BINARY_DIR}/tests)
 ENDIF(BUILD_TESTING)
 
-#=========================================================
-# Install scripts when running make install
-SET(SCRIPTS 
-  ${CLITK_SOURCE_DIR}/scripts/calculate_motion_amplitude.sh
-  ${CLITK_SOURCE_DIR}/scripts/midp_common.sh
-  ${CLITK_SOURCE_DIR}/scripts/registration.sh
-  ${CLITK_SOURCE_DIR}/scripts/create_midP.sh
-  ${CLITK_SOURCE_DIR}/scripts/create_midP-2.0.sh        
-  ${CLITK_SOURCE_DIR}/scripts/create_mhd_4D.sh          
-  ${CLITK_SOURCE_DIR}/scripts/create_mhd_4D_pattern.sh  
-  ${CLITK_SOURCE_DIR}/scripts/create_midP_masks.sh  
-  ${CLITK_SOURCE_DIR}/scripts/create_midP_masks-2.0.sh  
-  ${CLITK_SOURCE_DIR}/scripts/pts_to_landmarks.sh
-  ${CLITK_SOURCE_DIR}/scripts/create_mhd_3D.sh
-  ${CLITK_SOURCE_DIR}/scripts/dicom_info.sh
-)
-
-INSTALL (FILES ${SCRIPTS} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
new file mode 100644 (file)
index 0000000..41ace96
--- /dev/null
@@ -0,0 +1,19 @@
+#=========================================================
+# Install scripts when running make install
+SET(SCRIPTS 
+  ${CLITK_SOURCE_DIR}/scripts/calculate_motion_amplitude.sh
+  ${CLITK_SOURCE_DIR}/scripts/calculate_contour_stats.sh
+  ${CLITK_SOURCE_DIR}/scripts/midp_common.sh
+  ${CLITK_SOURCE_DIR}/scripts/registration.sh
+  ${CLITK_SOURCE_DIR}/scripts/create_midP.sh
+  ${CLITK_SOURCE_DIR}/scripts/create_midP-2.0.sh        
+  ${CLITK_SOURCE_DIR}/scripts/create_mhd_4D.sh          
+  ${CLITK_SOURCE_DIR}/scripts/create_mhd_4D_pattern.sh  
+  ${CLITK_SOURCE_DIR}/scripts/create_midP_masks.sh  
+  ${CLITK_SOURCE_DIR}/scripts/create_midP_masks-2.0.sh  
+  ${CLITK_SOURCE_DIR}/scripts/pts_to_landmarks.sh
+  ${CLITK_SOURCE_DIR}/scripts/create_mhd_3D.sh
+  ${CLITK_SOURCE_DIR}/scripts/dicom_info.sh
+)
+
+INSTALL (FILES ${SCRIPTS} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)