summaryrefslogtreecommitdiffstats
path: root/CMAKE_CONFIGURE
diff options
context:
space:
mode:
authorTreeve Jelbert2016-01-01 16:43:29 +0100
committerTreeve Jelbert2016-01-01 18:46:10 +0100
commitd25ef97fb2ba836f0936f300f8473c206e11cadc (patch)
tree66acad7054811a3042c29bc54dbffc70697e1683 /CMAKE_CONFIGURE
parentcd4c028513c499a4c689f87808b0ab24fe901c57 (diff)
support ninja-build-system in cmake build;
this is enabled for all kde and qt5-cmake spells to use it, source CMAKE_CONFIGURE in CONFIGURE and use cmake-{build,install}
Diffstat (limited to 'CMAKE_CONFIGURE')
-rwxr-xr-xCMAKE_CONFIGURE2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMAKE_CONFIGURE b/CMAKE_CONFIGURE
index 73089ce7af..5bc94a1523 100755
--- a/CMAKE_CONFIGURE
+++ b/CMAKE_CONFIGURE
@@ -2,3 +2,5 @@ config_query_list CM_BUILD_TYPE 'which build type?' Release Debug RelWithDebIn
#if is_depends_enabled $SPELL extra-cmake-modules;then
config_query_option CM_TESTS 'build tests?' n "-DBUILD_TESTING=1" "-DBUILD_TESTING=0"
#fi
+CMAKE_GEN=${CMAKE_GEN:-Ninja}
+persistent_add CMAKE_GEN