Skip to content

Commit

Permalink
Migrate to VS2019
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Sep 9, 2019
1 parent 55136cd commit 524b53b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ skip_tags: true

# environment variables
# build system info: https://www.appveyor.com/docs/windows-images-software/
os: Visual Studio 2017
os: Visual Studio 2019

environment:
PROJECT_DIR: &PROJECT_DIR c:\project
Expand All @@ -37,10 +37,10 @@ environment:
NSIS_EXE: c:\Program Files (x86)\NSIS\makensis.exe

SQLITE_DIR: c:\sqlite
SQLITE_URL: https://www.sqlite.org/2019/sqlite-amalgamation-3280000.zip
SQLITE_URL: https://www.sqlite.org/2019/sqlite-amalgamation-3290000.zip

CMAKE_GEN_X86: Visual Studio 15 2017
CMAKE_GEN_X64: Visual Studio 15 2017 Win64
CMAKE_GEN_X86: -G "Visual Studio 16 2019" -A "Win32"
CMAKE_GEN_X64: -G "Visual Studio 16 2019" -A "x64"

SOL_FILE: windows-chewing-tsf.sln
MSBUILD_CMD_X86: /maxcpucount /property:Configuration=Release,Platform=Win32 /target:ChewingPreferences,ChewingTextService,all_static_data,data
Expand Down Expand Up @@ -76,12 +76,12 @@ build_script:

# build x86
- 'cd "%BUILD_DIR%" && mkdir "x86" && cd "x86"'
- 'cmake -G "%CMAKE_GEN_X86%" "%REPO_DIR%"'
- 'cmake %CMAKE_GEN_X86% "%REPO_DIR%"'
- 'msbuild %SOL_FILE% %MSBUILD_CMD_X86%'

# build x64
- 'cd "%BUILD_DIR%" && mkdir "x64" && cd "x64"'
- 'cmake -G "%CMAKE_GEN_X64%" "%REPO_DIR%"'
- 'cmake %CMAKE_GEN_X64% "%REPO_DIR%"'
- 'msbuild %SOL_FILE% %MSBUILD_CMD_X64%'

# scripts to run before deployment
Expand Down

0 comments on commit 524b53b

Please sign in to comment.