From 9697863c1f26731dc801d1abd291b3b2eaabe1b9 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Mon, 31 Aug 2020 17:16:14 +0200 Subject: 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). --- CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3