summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-02-04 23:13:57 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-02-04 23:13:57 +0000
commit8d674f6e73ddb3aeeb1d2f9f0c68bd9a3d5c4bfa (patch)
treeec4032bc76e97b426d795f43fe47bd482041d978
parentCMake: Remove duplicated check for sigc++ (diff)
downloadinkscape-8d674f6e73ddb3aeeb1d2f9f0c68bd9a3d5c4bfa.tar.gz
inkscape-8d674f6e73ddb3aeeb1d2f9f0c68bd9a3d5c4bfa.zip
CMake: Supress status messages for install target on Windows (considerably speeds up build process)
(bzr r15476)
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
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)
# -----------------------------------------------------------------------------