]> https://gitweb.dealii.org/ - candi.git/commitdiff
unset CMAKE_GENERATOR 270/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 19 Dec 2021 12:11:52 +0000 (07:11 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sun, 19 Dec 2021 12:11:52 +0000 (07:11 -0500)
One can set the CMAKE_GENERATOR to set the default generator when cmake
is executed (I have set it to Ninja). This of course confuses candi, as
no makefiles will be generated.

candi.sh

index 67892525241eda78c92e41cfe73cf57ebc97f3b4..5d1b91cbc7de9d8f48cf0a5b1ccee42f57a6b5e5 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -37,6 +37,9 @@ fi
 # Start global timer
 TIC_GLOBAL="$(${DATE_CMD} +%s)"
 
+# unset CMAKE_GENERATOR because we assume the default (make) to be used
+unset CMAKE_GENERATOR
+
 ################################################################################
 # Parse command line input parameters
 PREFIX=~/dealii-candi

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.