summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-11 23:01:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-11 23:01:04 -0800
commit7d8e43ca4b389ee03e4afaf87f2aa1bb4474cffc (patch)
tree2b515533b2ad143cd9d686d5e041eeb939f03348
parentefc1684daa63fbb27ccef5b7a6621af4232a3f95 (diff)
Removed cpack stuff from CMakeLists.txt.`
-rw-r--r--CMakeLists.txt43
1 files changed, 0 insertions, 43 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44c125a..531a3b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,46 +18,3 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release." FORCE)
endif(NOT CMAKE_BUILD_TYPE)
-
-set(CPACK_GENERATOR TGZ ZIP)
-if(WIN32 AND NOT CYGWIN)
- set(CPACK_GENERATOR NSIS ${CPACK_GENERATOR})
-endif(WIN32 AND NOT CYGWIN)
-if(APPLE)
- set(CPACK_GENERATOR DragNDrop ${CPACK_GENERATOR})
-endif(APPLE)
-if (UNIX AND NOT APPLE AND NOT WIN32)
- set(CPACK_GENERATOR DEB ${CPACK_GENERATOR})
-endif (UNIX AND NOT APPLE AND NOT WIN32)
-
-set(CPACK_SOURCE_PACKAGE_FILE_NAME ${PROJECT_NAME}-src-${PROJECT_VERSION})
-set(CPACK_SOURCE_GENERATOR TGZ ZIP)
-set(CPACK_PACKAGE_CONTACT http://talk.commonmark.org/)
-set(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${PROJECT_NAME})
-set(CPACK_PACKAGE_VENDOR "${PROJECT_NAME} Development Team")
-set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
-set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
-set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
-set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
-set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
-set(CPACK_SOURCE_IGNORE_FILES "/docs/html;/autom4te.cache;/build/;/win32/;/.svn/;~$;${CPACK_SOURCE_IGNORE_FILES}")
-
-if(WIN32 AND NOT UNIX)
- set(CPACK_PACKAGE_INSTALL_DIRECTORY "${PROJECT_NAME}\\\\${PROJECT_VERSION}")
- # There is a bug in NSI that does not handle full unix paths properly. Make
- # sure there is at least one set of four (4) backlashes.
- # set(CPACK_PACKAGE_ICON "${CMake_SOURCE_DIR}/Utilities/Release\\\\InstallIcon.bmp")
- set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\${PROJECT_NAME}.exe")
- set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} ${PROJECT_NAME}")
- set(CPACK_NSIS_HELP_LINK "http://commonmark.org/")
- set(CPACK_NSIS_URL_INFO_ABOUT "http://commonmark.org/")
- set(CPACK_NSIS_CONTACT "http://talk.commonmark.org/")
- set(CPACK_NSIS_MODIFY_PATH ON)
- set(CPACK_NSIS_MENU_LINKS "doc/html/index.html;Documentation")
-else(WIN32 AND NOT UNIX)
- set(CPACK_PACKAGE_INSTALL_DIRECTORY "${PROJECT_NAME}/${PROJECT_VERSION}")
- set(CPACK_STRIP_FILES "bin/${PROJECT_NAME}")
- set(CPACK_SOURCE_STRIP_FILES "")
-endif(WIN32 AND NOT UNIX)
-set(CPACK_PACKAGE_EXECUTABLES ${PROJECT_NAME};${PROJECT_NAME})
-include(CPack)