Commit 91ba65af8f6c75e9ea12627ed4545cbf118c8dd9

Edward Thomson 2019-11-23T10:58:38

ci: provide a default for xcode generator Provide a sane default for `CMAKE_GENERATOR` in the build script so that it can be invoked without having to set that in the environment.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/azure-pipelines/build.sh b/azure-pipelines/build.sh
index 6700d7b..dc6f099 100755
--- a/azure-pipelines/build.sh
+++ b/azure-pipelines/build.sh
@@ -11,6 +11,7 @@ SOURCE_DIR=${SOURCE_DIR:-$( cd "$( dirname "${BASH_SOURCE[0]}" )" && dirname $( 
 BUILD_DIR=$(pwd)
 BUILD_PATH=${BUILD_PATH:=$PATH}
 CMAKE=$(which cmake)
+CMAKE_GENERATOR=${CMAKE_GENERATOR:-Unix Makefiles}
 
 indent() { sed "s/^/    /"; }