Skip to content

Commit 523c890

Browse files
update cmake file for autonomous DSK gatb-tool
1 parent 69b74af commit 523c890

File tree

1 file changed

+3
-28
lines changed

1 file changed

+3
-28
lines changed

CMakeLists.txt

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ target_link_libraries(${PROJECT_NAME} ${gatb-core-libraries})
8787
################################################################################
8888
add_subdirectory (utils)
8989

90+
################################################################################
91+
# PACKAGING
92+
################################################################################
9093
# We set the version number
9194
SET (CPACK_PACKAGE_DESCRIPTION_SUMMARY "gatb-tool ${PROJECT_NAME}")
9295
SET (CPACK_PACKAGE_VENDOR "Genscale team (INRIA)")
@@ -109,7 +112,6 @@ SET (CPACK_SOURCE_IGNORE_FILES
109112
"^${GATB_CORE_HOME}/\\.git/" ;
110113
"^${GATB_CORE_HOME}/\\.project" ;
111114
"^${GATB_CORE_HOME}/\\.gitignore";
112-
"^${GATB_CORE_HOME}/doc/design" ;
113115
"^${GATB_CORE_HOME}/quick-build.sh"
114116
)
115117

@@ -123,30 +125,3 @@ INSTALL (FILES LICENSE README.md scripts/simple_test.sh DESTINATION bin/..)
123125
set (CPACK_PACKAGE_FILE_NAME ${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}-bin-${CMAKE_SYSTEM_NAME})
124126

125127
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

Comments
 (0)