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:
authorRobert Adam <dev@robert-adam.de>2020-08-31 18:16:14 +0300
committerRobert Adam <dev@robert-adam.de>2020-08-31 18:30:53 +0300
commit9697863c1f26731dc801d1abd291b3b2eaabe1b9 (patch)
tree3f97a046408f997fb0b39d72e4bab4d29b586e41
parente97b2293b3cc98b9193915248343e77745e2d3fe (diff)
BUILD(cmake): Start cmake output with info header
Instead of only printing the Mumble version that is being built, the architecture that cmake is currently configuring for is displayed as well. In order to make this information more visible, they are surrounded by a row of hashtags. This change should make it more obvious to users if they happen to build the wrong version/architecture (as can easily happen on Windows).
-rw-r--r--CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ca2d15463..f16a72adf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,8 +19,6 @@ project(Mumble
LANGUAGES "C" "CXX"
)
-message(STATUS "Mumble version: ${version}")
-
set(3RDPARTY_DIR "${CMAKE_SOURCE_DIR}/3rdparty")
set(CMAKE_CXX_STANDARD 14)
@@ -77,6 +75,15 @@ endif()
include(compiler)
include(os)
+message(STATUS "##################################################")
+message(STATUS "Building Mumble version: ${version}")
+if(64_BIT)
+ message(STATUS "Architecture: 64bit (x64)")
+else()
+ message(STATUS "Architecture: 32bit (x86)")
+endif()
+message(STATUS "##################################################")
+
add_subdirectory(src)
if(g15 AND WIN32)