diff options
author | Treeve Jelbert | 2021-05-29 20:45:15 +0200 |
---|---|---|
committer | Treeve Jelbert | 2021-05-30 20:30:08 +0200 |
commit | f1d6fdfa04bf83c7980d7d43acc1820f8d02e46a (patch) | |
tree | 28c712c149c22e56a56c7f18b3dd76741736a2e7 /CMAKE_CONFIGURE | |
parent | 2526b39fb8eddf72ed0e79a51e887ea523839d0a (diff) |
simplify cmake settings
Diffstat (limited to 'CMAKE_CONFIGURE')
-rwxr-xr-x | CMAKE_CONFIGURE | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/CMAKE_CONFIGURE b/CMAKE_CONFIGURE index ae19da80b6..f03d7d49f9 100755 --- a/CMAKE_CONFIGURE +++ b/CMAKE_CONFIGURE @@ -2,14 +2,4 @@ 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 - -# Default to Ninja cmake generator if it's installed, otherwise the standard Unix way -if spell_ok ninja-build-system; then - message "${MESSAGE_COLOR}${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${MESSAGE_COLOR} is using ${SPELL_COLOR}ninja${DEFAULT_COLOR}${MESSAGE_COLOR} for CMAKE GENERATOR." && - CMAKE_GEN='Ninja' -else - message "${MESSAGE_COLOR}${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${MESSAGE_COLOR} is using \"Unix Makefiles\" for CMAKE GENERATOR." && - CMAKE_GEN='Unix Makefiles' -fi && - -persistent_add CMAKE_GEN +persistent_remove CMAKE_GEN |