diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2015-07-04 19:05:14 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2015-07-04 19:05:14 +0200 |
| commit | 396afc3312243ff4a8e95c3b9398d56c5582e30d (patch) | |
| tree | e2be8d30c91325662f675e4cab3b138b75bff906 | |
| parent | 0ece16027e0d5fb607104830b2dfb41795fe9e2a (diff) | |
| download | PROJ-396afc3312243ff4a8e95c3b9398d56c5582e30d.tar.gz PROJ-396afc3312243ff4a8e95c3b9398d56c5582e30d.zip | |
Add appveyour configuration file
| -rw-r--r-- | appveyor.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..85eae730 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,46 @@ +platform: +- x64 +- x86 + +environment: + matrix: + +# Does not work +# VS 2008 +# - BUILD_TYPE: cmake +# VS_VERSION: Visual Studio 9 2008 + +# VS 2010 + - BUILD_TYPE: cmake + VS_VERSION: Visual Studio 10 + +# VS 2012 + - BUILD_TYPE: cmake + VS_VERSION: Visual Studio 11 + +# VS 2013 + - BUILD_TYPE: cmake + VS_VERSION: Visual Studio 12 + + - BUILD_TYPE: nmake + +shallow_clone: true + +build_script: + - echo build_script + - if "%BUILD_TYPE%" == "nmake" if "%platform%" == "x86" call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" + - if "%BUILD_TYPE%" == "nmake" if "%platform%" == "x64" "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 + - if "%BUILD_TYPE%" == "nmake" if "%platform%" == "x64" call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64 + - if "%BUILD_TYPE%" == "nmake" nmake /f makefile.vc + - if "%BUILD_TYPE%" == "nmake" nmake /f makefile.vc install-all + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" SET VS_FULL=%VS_VERSION% Win64 + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" SET VS_FULL=%VS_VERSION% + - if "%BUILD_TYPE%" == "cmake" echo "%VS_FULL%" + - if "%BUILD_TYPE%" == "cmake" cmake -G "%VS_FULL%" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=../bin -DBUILD_LIBPROJ_SHARED=ON + - if "%BUILD_TYPE%" == "cmake" cmake --build . --config Release + +test_script: + - echo test_script + +deploy: off + |
