Commit 1e192486d07ca771674c99dcba9ffa9203145ec6

Authored by Jay Berkenbilt
1 parent d740c6cc

Use Release for mingw builds for smaller packages

Showing 1 changed file with 1 additions and 2 deletions
build-scripts/build-windows
... ... @@ -6,6 +6,7 @@ tool=$2
6 6  
7 7 declare -a cmake_xargs
8 8 declare -a ctest_xargs
  9 +config=Release
9 10 if [[ $tool == mingw ]]; then
10 11 pacman -Sy --noconfirm make base-devel tar zip unzip
11 12 if [ ! -x /c/msys64/mingw$wordsize/bin/g++.exe ]; then
... ... @@ -16,12 +17,10 @@ if [[ $tool == mingw ]]; then
16 17 fi
17 18 fi
18 19 PATH="/c/msys64/mingw$wordsize/bin:$PATH"
19   - config=RelWithDebInfo
20 20 cmake_xargs=(-- -k)
21 21 g++ -v
22 22 elif [[ $tool == msvc ]]; then
23 23 cl
24   - config=Release
25 24 cmake_xargs=(--config $config)
26 25 ctest_xargs=(-C $config)
27 26 fi
... ...