1 # For help take a look at:
2 # http://www.cmake.org/Wiki/CMake:CPackConfiguration
5 set(CPACK_PACKAGE_NAME ${APPLICATION_NAME})
6 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The lightweight C unit testing library")
7 set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README")
8 set(CPACK_PACKAGE_VENDOR "Andreas Schneider")
9 set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME})
10 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
14 set(CPACK_PACKAGE_VERSION_MAJOR "0")
15 set(CPACK_PACKAGE_VERSION_MINOR "1")
16 set(CPACK_PACKAGE_VERSION_PATCH "2")
17 set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
21 set(CPACK_SOURCE_GENERATOR "TGZ")
22 set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;tags;cscope.*")
23 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
26 set(CPACK_GENERATOR "ZIP")
31 set(CPACK_GENERATOR "${CPACK_GENERATOR};NSIS")
32 set(CPACK_NSIS_DISPLAY_NAME ${CPACK_PACKAGE_DESCRIPTION_SUMMARY})
33 set(CPACK_NSIS_COMPRESSOR "/SOLID zlib")
34 set(CPACK_NSIS_MENU_LINKS "https://code.google.com/p/cmocka/" "cmocka homepage")
38 set(CPACK_PACKAGE_INSTALL_DIRECTORY "cmocka")
40 set(CPACK_PACKAGE_FILE_NAME ${APPLICATION_NAME}-${CPACK_PACKAGE_VERSION})
42 set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
43 set(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C/C++ Headers")
44 set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION
45 "Libraries used to build programs which use cmocka")
46 set(CPACK_COMPONENT_HEADERS_DESCRIPTION
47 "C/C++ header files for use with cmocka")
48 set(CPACK_COMPONENT_HEADERS_DEPENDS libraries)
49 #set(CPACK_COMPONENT_APPLICATIONS_GROUP "Runtime")
50 set(CPACK_COMPONENT_LIBRARIES_GROUP "Development")
51 set(CPACK_COMPONENT_HEADERS_GROUP "Development")