From cc64f66f9232bd1c0d9a646fb960e550a27c5a25 Mon Sep 17 00:00:00 2001 From: henrywinterbottom-wxdev Date: Wed, 21 Feb 2024 10:29:07 -0700 Subject: [PATCH] Added debug CMake build type option. --- ush/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ush/build.sh b/ush/build.sh index 5357afc..fa144c6 100755 --- a/ush/build.sh +++ b/ush/build.sh @@ -28,6 +28,9 @@ module list # Collect BUILD Options CMAKE_OPTS+=" -DBUILD_UTIL_ALLMON=ON" +# Build type for executables +CMAKE_OPTS+=" -DCMAKE_BUILD_TYPE=$BUILD_TYPE" + # Install destination for built executables, libraries, CMake Package config CMAKE_OPTS+=" -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX"