Update appveyor.yml
parent
14254bf443
commit
00e931a991
22
appveyor.yml
22
appveyor.yml
|
@ -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\*
|
||||||
|
|
Loading…
Reference in New Issue