Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNik Reist <zeroability@tutanota.com>2020-05-21 03:35:09 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2020-07-12 00:33:25 +0300
commit5c735e186bbc8e811ef82f895193b99645749b10 (patch)
treed504f3c2994dd428fef28673f725ebade5fa04ce /CMakeLists.txt
parent2581534c048c90aa24ec51469da2f92a94fc3e98 (diff)
CMakeLists.txt: add "packaging" option, disabled by default
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1e4335ec3..adda32def 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,6 +44,7 @@ option(warnings-as-errors "All warnings are treated as errors." OFF)
option(dpkg-buildflags "Add CFLAGS, CXXFLAGS, CPPFLAGS and LDFLAGS from dpkg-buildflags to the build flags." OFF)
option(overlay "Build overlay." ON)
+option(packaging "Build package." OFF)
option(plugins "Build plugins." ON)
# We support the "Debug" and "Release" configurations.
@@ -95,3 +96,11 @@ endif()
if(plugins AND client)
add_subdirectory(plugins)
endif()
+
+if(packaging)
+ if(WIN32)
+ file(COPY "${CMAKE_SOURCE_DIR}/scripts/Create-Win32InstallerMUI.ps1" DESTINATION ${CMAKE_BINARY_DIR})
+ endif()
+
+ include(cmake/packaging.cmake)
+endif()