1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Merge pull request #2567 from OpenMW/turn_on_msvc2019

add msvc2019 and ditch msvc2015
This commit is contained in:
Bret Curtis 2019-10-21 21:32:01 +02:00 committed by GitHub
commit c9c7732fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View File

@ -247,7 +247,7 @@ if [ -z $CONFIGURATION ]; then
fi
if [ -z $VS_VERSION ]; then
VS_VERSION="2013"
VS_VERSION="2017"
fi
case $VS_VERSION in
@ -507,10 +507,10 @@ fi
add_cmake_opts -DBoost_COMPILER="-${TOOLSET}"
echo Done.
else
# Appveyor unstable has all the boost we need already
# Appveyor has all the boost we need already
BOOST_SDK="c:/Libraries/boost_${BOOST_VER_URL}"
if [ $MSVC_REAL_VER -eq 15 ]; then
if [ $MSVC_REAL_VER -ge 15 ]; then
LIB_SUFFIX="1"
else
LIB_SUFFIX="0"
@ -641,7 +641,7 @@ echo
if [ -z $APPVEYOR ]; then
printf "Qt 5.7.0... "
else
printf "Qt 5.10 AppVeyor... "
printf "Qt 5.13 AppVeyor... "
fi
{
if [ $BITS -eq 64 ]; then
@ -679,7 +679,7 @@ fi
add_qt_platform_dlls "$(pwd)/plugins/platforms/qwindows${SUFFIX}.dll"
echo Done.
else
QT_SDK="C:/Qt/5.10/msvc${MSVC_DISPLAY_YEAR}${SUFFIX}"
QT_SDK="C:/Qt/5.13/msvc2017${SUFFIX}"
add_cmake_opts -DDESIRED_QT_VERSION=5 \
-DQT_QMAKE_EXECUTABLE="${QT_SDK}/bin/qmake.exe" \
-DCMAKE_PREFIX_PATH="$QT_SDK"

View File

@ -8,13 +8,10 @@ branches:
environment:
matrix:
- msvc: 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- msvc: 2017
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
matrix:
allow_failures:
- msvc: 2015
- msvc: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
platform:
# - Win32