From 1e192486d07ca771674c99dcba9ffa9203145ec6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 20 May 2023 14:59:56 -0400 Subject: [PATCH] Use Release for mingw builds for smaller packages --- build-scripts/build-windows | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build-scripts/build-windows b/build-scripts/build-windows index 7d0f248d..e27dddf6 100755 --- a/build-scripts/build-windows +++ b/build-scripts/build-windows @@ -6,6 +6,7 @@ tool=$2 declare -a cmake_xargs declare -a ctest_xargs +config=Release if [[ $tool == mingw ]]; then pacman -Sy --noconfirm make base-devel tar zip unzip if [ ! -x /c/msys64/mingw$wordsize/bin/g++.exe ]; then @@ -16,12 +17,10 @@ if [[ $tool == mingw ]]; then fi fi PATH="/c/msys64/mingw$wordsize/bin:$PATH" - config=RelWithDebInfo cmake_xargs=(-- -k) g++ -v elif [[ $tool == msvc ]]; then cl - config=Release cmake_xargs=(--config $config) ctest_xargs=(-C $config) fi