diff --git a/.appveyor.yml b/.appveyor.yml index 829066c8..6dbea541 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -22,11 +22,9 @@ install: - mkdir build - cd build -build_script: - - if %platform%==x86 set generator=Visual Studio 16 2019 - - if %platform%==x64 set generator=Visual Studio 16 2019 Win64 - - echo %generator% %SHARED% %configuration% - - cmake .. -G"%generator%" -DBUILD_SHARED_LIBS=%SHARED% -DCMAKE_INSTALL_PREFIX=./output +build_script: + - echo Visual Studio 16 2019 %SHARED% %configuration% + - cmake .. -G"Visual Studio 16 2019" -DBUILD_SHARED_LIBS=%SHARED% -DARCHITECTURE="%platform%" -DCMAKE_INSTALL_PREFIX=./output - cmake --build . --target INSTALL --config %configuration% - 7z a vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%.zip -i!%APPVEYOR_BUILD_FOLDER%\build\output\* - appveyor PushArtifact vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%.zip