summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-02-10 20:23:24 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-02-10 20:23:24 +0100
commit3bd236fefb0024fa4f304d50f8725fcd153631f1 (patch)
treedfea6a5cf6f617ecfe6559b0eff36aba6b474d05 /CMakeLists.txt
parent784d4a47187a960b43225d45a27ee0fe435603ea (diff)
downloadmariadb-git-3bd236fefb0024fa4f304d50f8725fcd153631f1.tar.gz
Add components to INSTALL, some eraly Wix support
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt20
1 files changed, 12 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 369e03bf988..f1185e65028 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -261,14 +261,10 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/include/mysql_version.h.in
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/sql/sql_builtin.cc.in
${CMAKE_BINARY_DIR}/sql/sql_builtin.cc)
-# Packaging
-IF(WIN32)
- SET(CPACK_GENERATOR "ZIP")
-ELSE()
- SET(CPACK_GENERATOR "TGZ")
-ENDIF()
-INCLUDE(CPack)
-INSTALL(FILES COPYING EXCEPTIONS-CLIENT README DESTINATION ${INSTALL_DOCREADMEDIR})
+INSTALL(FILES EXCEPTIONS-CLIENT DESTINATION ${INSTALL_DOCREADMEDIR} COMPONENT
+ Development)
+
+INSTALL(FILES COPYING README DESTINATION ${INSTALL_DOCREADMEDIR})
IF(UNIX)
INSTALL(FILES Docs/INSTALL-BINARY DESTINATION ${INSTALL_DOCREADMEDIR})
ENDIF()
@@ -276,3 +272,11 @@ ENDIF()
SET(MYSQL_DOCS_LOCATION "" CACHE PATH "Location from where documentation is copied")
MARK_AS_ADVANCED(MYSQL_DOCS_LOCATION)
INSTALL(DIRECTORY Docs/ DESTINATION ${INSTALL_DOCDIR})
+# Packaging
+IF(WIN32)
+ SET(CPACK_GENERATOR "ZIP")
+ELSE()
+ SET(CPACK_GENERATOR "TGZ")
+ENDIF()
+ADD_SUBDIRECTORY(packaging/WiX)
+INCLUDE(CPack)