diff --git a/.appveyor.yml b/.appveyor.yml index 500aeb4..4287009 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 @@ -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 @@ -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