| 1 |
# Package building stuff - Experimental! |
| 2 |
SET(CPACK_PACKAGE_VERSION "${OCTOMAP_VERSION}") |
| 3 |
SET(CPACK_PACKAGE_VERSION_MAJOR "${OCTOMAP_MAJOR_VERSION}") |
| 4 |
SET(CPACK_PACKAGE_VERSION_MINOR "${OCTOMAP_MINOR_VERSION}") |
| 5 |
SET(CPACK_PACKAGE_VERSION_PATCH "${OCTOMAP_PATCH_VERSION}") |
| 6 |
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${V_MAJOR}.${V_MINOR}") |
| 7 |
SET(CPACK_PACKAGE_CONTACT "K.M. Wurm and A. Hornung") |
| 8 |
SET(CPACK_PACKAGE_VENDOR "University of Freiburg") |
| 9 |
SET(CPACK_GENERATOR "DEB") |
| 10 |
SET(CPACK_SOURCE_GENERATOR "TGZ") |
| 11 |
SET(CPACK_SOURCE_PACKAGE_FILE_NAME |
| 12 |
"${PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") |
| 13 |
|
| 14 |
# This must always be last statement! |
| 15 |
INCLUDE(CPack) |
| 16 |
|