diff options
author | Daniel Fischer <df@sun.com> | 2010-06-18 17:04:15 +0200 |
---|---|---|
committer | Daniel Fischer <df@sun.com> | 2010-06-18 17:04:15 +0200 |
commit | 073943cd7dc1b1c897543ffb704b821de942b07b (patch) | |
tree | 129482b631bc451c9ff9b99ac55692b6bec2563d /CMakeLists.txt | |
parent | b79631bc7a2cdcb46f34d6e37e1597a6e71f09b1 (diff) | |
parent | d6fe8c47b88faf5074f55d698a9b9af97d17fdd4 (diff) | |
download | mariadb-git-073943cd7dc1b1c897543ffb704b821de942b07b.tar.gz |
merge
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 536fae9f4b1..0131ac1b0a7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,18 @@ SET(CUSTOM_C_FLAGS $ENV{CFLAGS}) OPTION(WITH_DEBUG "Use dbug/safemutex" OFF) OPTION(WITH_DEBUG_FULL "Use dbug and safemalloc/safemutex. Slow" OFF) +# Distinguish between community and non-community builds, with the +# default being a community build. This does not impact the feature +# set that will be compiled in; it's merely provided as a hint to +# custom packaging steps. +OPTION(COMMUNITY_BUILD "Set to true if this is a community build" ON) + +# Use a default manufacturer if no manufacturer was identified. +SET(MANUFACTURER_DOCSTRING + "Set the entity that appears as the manufacturer of packages that support a manufacturer field.") +IF(NOT DEFINED MANUFACTURER) + SET(MANUFACTURER "Built from Source" CACHE BOOL ${MANUFACTURER_DOCSTRING}) +ENDIF() # We choose to provide WITH_DEBUG as alias to standard CMAKE_BUILD_TYPE=Debug # which turns out to be not trivial, as this involves synchronization @@ -277,6 +289,7 @@ IF(WIN32) ELSE() SET(CPACK_GENERATOR "TGZ") ENDIF() +ADD_SUBDIRECTORY(packaging/WiX) INCLUDE(CPack) IF(UNIX) INSTALL(FILES Docs/mysql.info DESTINATION ${INSTALL_INFODIR} OPTIONAL) |