Skip to content

Commit

Permalink
Update .appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
smasherprog authored Jan 24, 2021
1 parent 3ad9a19 commit 0a5ae07
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a5ae07

Please sign in to comment.