|
@ -76,13 +76,13 @@ endif() |
|
|
|
|
|
|
|
|
#DISTRIBUTION |
|
|
#DISTRIBUTION |
|
|
set(CPACK_PACKAGE_VERSION_MAJOR "0") |
|
|
set(CPACK_PACKAGE_VERSION_MAJOR "0") |
|
|
set(CPACK_PACKAGE_VERSION_MINOR "2") |
|
|
set(CPACK_PACKAGE_VERSION_MINOR "3") |
|
|
set(CPACK_PACKAGE_VERSION_PATCH "0") |
|
|
set(CPACK_PACKAGE_VERSION_PATCH "0") |
|
|
set(CPACK_SOURCE_GENERATOR "TBZ2") |
|
|
set(CPACK_SOURCE_GENERATOR "TBZ2") |
|
|
set(CPACK_SOURCE_PACKAGE_FILE_NAME |
|
|
set(CPACK_SOURCE_PACKAGE_FILE_NAME |
|
|
"${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") |
|
|
"${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") |
|
|
set(CPACK_SOURCE_IGNORE_FILES |
|
|
set(CPACK_SOURCE_IGNORE_FILES |
|
|
"/build") |
|
|
"/build" ".svn") |
|
|
include(CPack) |
|
|
include(CPack) |
|
|
|
|
|
|
|
|
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) |
|
|
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) |
|
|