@@ -87,6 +87,9 @@ target_link_libraries(${PROJECT_NAME} ${gatb-core-libraries})
87
87
################################################################################
88
88
add_subdirectory (utils )
89
89
90
+ ################################################################################
91
+ # PACKAGING
92
+ ################################################################################
90
93
# We set the version number
91
94
SET (CPACK_PACKAGE_DESCRIPTION_SUMMARY "gatb-tool ${PROJECT_NAME} " )
92
95
SET (CPACK_PACKAGE_VENDOR "Genscale team (INRIA)" )
@@ -109,7 +112,6 @@ SET (CPACK_SOURCE_IGNORE_FILES
109
112
"^${GATB_CORE_HOME} /\\ .git/" ;
110
113
"^${GATB_CORE_HOME} /\\ .project" ;
111
114
"^${GATB_CORE_HOME} /\\ .gitignore" ;
112
- "^${GATB_CORE_HOME} /doc/design" ;
113
115
"^${GATB_CORE_HOME} /quick-build.sh"
114
116
)
115
117
@@ -123,30 +125,3 @@ INSTALL (FILES LICENSE README.md scripts/simple_test.sh DESTINATION bin/..)
123
125
set (CPACK_PACKAGE_FILE_NAME ${PROJECT_NAME} -${CPACK_PACKAGE_VERSION}-bin-${CMAKE_SYSTEM_NAME} )
124
126
125
127
include (CPack )
126
-
127
-
128
-
129
- ################################################################################
130
- # INSTALLATION
131
- ################################################################################
132
-
133
- #INSTALL (FILES ${CMAKE_CURRENT_SOURCE_DIR}/README.md DESTINATION ./share/dsk)
134
- #INSTALL (FILES ${CMAKE_CURRENT_SOURCE_DIR}/simple_test.sh DESTINATION ./share/dsk)
135
- #INSTALL (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/test DESTINATION ./share/dsk)
136
-
137
- ################################################################################
138
- # PACKAGING
139
- ################################################################################
140
-
141
- # We chose the kind of archive we want to generate
142
- #SET (CPACK_GENERATOR "TGZ")
143
- #SET (CPACK_SOURCE_GENERATOR "TGZ")
144
-
145
- # We copy the project binary to the 'bin' directory
146
- #INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)
147
-
148
- # For the source archive, we exclude some unwanted directories.
149
- #SET (CPACK_SOURCE_IGNORE_FILES ${CPACK_SOURCE_IGNORE_FILES} "/build/" ".gitignore$" "quick-build.sh")
150
-
151
- # To be done at the end.
152
- #INCLUDE (Delivery)
0 commit comments