]> Creatis software - STMS.git/commitdiff
installation target added
authorThomas Greneir <thomas.grenier@insa-lyon.fr>
Fri, 17 Nov 2017 17:46:33 +0000 (18:46 +0100)
committerThomas Greneir <thomas.grenier@insa-lyon.fr>
Fri, 17 Nov 2017 17:46:33 +0000 (18:46 +0100)
not ok for libs and headers

Numbering form changed to fit a dedicated project... this tuning must be done in a conf file not in source file...

Lib/PrePostProcessing/CMakeLists.txt
Lib/SpatioTemporalMeanShift/CMakeLists.txt
Src/CMakeLists.txt
Src/STMS_GrayLevelFiltering.cxx

index cc8c3db3939be10e4d8107028e854a84aa3c3198..a41de85a94fd5d0f4737a6bed8b598cc3457e011 100755 (executable)
@@ -80,6 +80,8 @@ IF ( BUILD_${LIBRARY_NAME} )
    TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES} )
    SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES LINKER_LANGUAGE C)
 
+   install(TARGETS ${LIBRARY_NAME} DESTINATION lib)
+   install(FILES  ${LIBRARY_NAME_HEADERS} DESTINATION include)
   #
   #----------------------------------------------------------------------------
 
index c5ed43e21b3c55ed3e7d0a88def903d343ba191e..2fce5933eb3479030a9ef204f4d635f9645e9d1f 100755 (executable)
@@ -80,6 +80,8 @@ IF ( BUILD_${LIBRARY_NAME} )
    TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES} )
    SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES LINKER_LANGUAGE C)
 
+   install(TARGETS ${LIBRARY_NAME} DESTINATION lib)
+   install(FILES  ${LIBRARY_NAME_HEADERS} DESTINATION include)
   #
   #----------------------------------------------------------------------------
 
index e5679daee53a2ff5adf73204c3ac01084cb9df6f..8b1ae25fc541965b1383e18d5663fe3f92dae45d 100755 (executable)
@@ -27,3 +27,5 @@ target_link_libraries(STMS_GrayLevelFiltering ${ITK_LIBRARIES})
 #add_executable(STMS_GrayLevelFiltering_Spine STMS_GrayLevelFiltering_Spine.cxx )
 #target_link_libraries(STMS_GrayLevelFiltering_Spine ${ITK_LIBRARIES})
 
+install(TARGETS STMS_GrayLevelFiltering DESTINATION bin)
+
index c7cfffda98c9c39383e5a9bbf4e382255f109a42..d0c17d2f312b142f1d59153a3f8686ef577afe5c 100755 (executable)
@@ -60,7 +60,7 @@
 #include <iomanip>
 #include <ctime>
 
-#define STMS_NUMBERING_FORM_ONE "01"
+#define STMS_NUMBERING_FORM_ONE "0001"
 
 #include "itkImage.h"
 #include "itkSTMS_ArgumentsAnalysis.h"