appveyor: configure for Release with Debug Info

We build the library as debug with AppVeyor and package it this way,
which is unfortunate, because on Windows it's linked against debug
variants of the C runtime. Fix this by build RelWithDebInfo instead

Fixes #1128.
This commit is contained in:
Ahmad Fatoum 2020-03-23 22:48:29 +01:00
parent 4b23337280
commit 12742ed7ce

View File

@ -39,7 +39,7 @@ before_build:
- cd build - cd build
build_script: build_script:
- cmake -G %GENERATOR% -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=%examples% -DBUILD_GAMES=%examples% -DINCLUDE_EVERYTHING=ON .. - cmake -G %GENERATOR% -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=%examples% -DBUILD_GAMES=%examples% -DINCLUDE_EVERYTHING=ON ..
- cmake --build . --target install - cmake --build . --target install
after_build: after_build: