Update appveyor.yml

pull/1006/head
odalet 2016-09-24 17:26:59 +02:00 committed by GitHub
parent 14254bf443
commit 00e931a991
1 changed files with 5 additions and 17 deletions

View File

@ -28,23 +28,11 @@ install:
- call c:\projects\assimp\scripts\appveyor\compiler_setup.bat - call c:\projects\assimp\scripts\appveyor\compiler_setup.bat
build_script: build_script:
- cmd: >- - cd c:\projects\assimp
- if "%platform%" equ "x64" (cmake CMakeLists.txt -G "Visual Studio %Configuration% Win64")
cd c:\projects\assimp - if "%platform%" equ "x86" (cmake CMakeLists.txt -G "Visual Studio %Configuration%")
- if "%platform%" equ "x64" (msbuild /m /p:Configuration=Release /p:Platform="x64" Assimp.sln)
if "%platform%" equ "x64" ( - if "%platform%" equ "x86" (msbuild /m /p:Configuration=Release /p:Platform="Win32" Assimp.sln)
cmake CMakeLists.txt -G "Visual Studio %Configuration% Win64"
msbuild /m /p:Configuration=Release /p:Platform="x64" Assimp.sln
) else (
cmake CMakeLists.txt -G "Visual Studio %Configuration%"
msbuild /m /p:Configuration=Release /p:Platform="Win32" Assimp.sln
)
after_build: after_build:
- 7z a assimp.7z c:\projects\assimp\bin\release\* c:\projects\assimp\lib\release\* - 7z a assimp.7z c:\projects\assimp\bin\release\* c:\projects\assimp\lib\release\*