Skip to content

Commit

Permalink
Merge pull request OpenMW#2567 from OpenMW/turn_on_msvc2019
Browse files Browse the repository at this point in the history
add msvc2019 and ditch msvc2015
  • Loading branch information
psi29a authored Oct 21, 2019
2 parents 675a79d + 5a8bfac commit c9c7732
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 5 additions & 5 deletions CI/before_script.msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 2 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9c7732

Please sign in to comment.