this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Trying to reduce build.

authored by

Jonathan Dearborn and committed by
Alice
c768f942 42a5787a

+8 -6
+8 -6
.appveyor.yml
··· 9 9 10 10 image: 11 11 - Visual Studio 2019 12 - - Visual Studio 2017 13 12 14 13 init: 15 14 - git config --global core.autocrlf input 16 15 - echo %APPVEYOR_BUILD_WORKER_IMAGE% 17 - - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set generator="Visual Studio 16 2019%arch%" ) 18 - - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" ) 16 + - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set generator="Visual Studio 16 2019" ) 19 17 - echo %generator% 20 18 21 19 ··· 25 23 install: 26 24 - mkdir c:\projects\libs 27 25 # Download SDL. 28 - - ps: Start-FileDownload 'https://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip' 'c:/projects/libs/SDL.zip' 26 + - ps: Start-FileDownload 'https://www.libsdl.org/release/SDL2-devel-2.0.12-VC.zip' 'c:/projects/libs/SDL.zip' 29 27 30 28 # Extract it, put it in the right place, and rename it. 31 - - cd c:\projects\libs && 7z x SDL.zip && ren SDL2-2.0.5 SDL2 && cd c:\projects\SDL_gpu 29 + - cd c:\projects\libs && 7z x SDL.zip && ren SDL2-2.0.12 SDL2 && cd c:\projects\SDL_gpu 32 30 33 31 34 32 platform: ··· 47 45 - cd c:\projects\SDL_gpu 48 46 - mkdir build 49 47 - cd build 50 - - cmd: cmake -G %generator% -A %platform% -DCMAKE_INSTALL_PREFIX=c:\projects\libs\SDL2 -DSDL_gpu_BUILD_DEMOS=ON -DSDL_gpu_BUILD_TESTS=ON -DSDL_gpu_BUILD_TOOLS=ON -DSDL_gpu_BUILD_SHARED=ON -DSDL_gpu_BUILD_STATIC=ON .. 48 + - if "%configuration%"=="Debug" ( set build_tests=ON ) 49 + - if "%configuration%"=="Debug" ( set build_demos=OFF ) 50 + - if "%configuration%"=="Release" ( set build_tests=OFF ) 51 + - if "%configuration%"=="Release" ( set build_demos=ON ) 52 + - cmd: cmake -G %generator% -A %platform% -DCMAKE_INSTALL_PREFIX=c:\projects\libs\SDL2 -DSDL_gpu_BUILD_DEMOS=%build_demos% -DSDL_gpu_BUILD_TESTS=%build_tests% -DSDL_gpu_BUILD_TOOLS=%build_demos% -DSDL_gpu_BUILD_SHARED=ON -DSDL_gpu_BUILD_STATIC=ON .. 51 53 52 54 # scripts to run after build 53 55 after_build: