From 8d674f6e73ddb3aeeb1d2f9f0c68bd9a3d5c4bfa Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 5 Feb 2017 00:13:57 +0100 Subject: CMake: Supress status messages for install target on Windows (considerably speeds up build process) (bzr r15476) --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 92e650b26..997596af3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,13 @@ if(CMAKE_COMPILER_IS_GNUCC) endif() endif() +# console output is slow as hell on Windows and as a result status messages of the "install" target slow down +# the whole build process considerably (especially since we also copy a lot of files from the devlibs) +# TODO: Is this worth to be configurable / also applicable to other platforms? +if(WIN32) + set(CMAKE_INSTALL_MESSAGE "LAZY") +endif() + # ----------------------------------------------------------------------------- # Redirect output files @@ -196,7 +203,7 @@ endif() # Installation # ----------------------------------------------------------------------------- add_subdirectory(share) - + include(CMakeScripts/Install.cmake) # ----------------------------------------------------------------------------- -- cgit v1.2.3