1 # Configuration for continuous integration service at appveyor.com
5 # Operating system (build VM template)
8 # scripts that are called at very beginning, before repo cloning
12 clone_folder: c:\projects\gflags
25 # show all available env vars
27 - echo cmake on AppVeyor, %configuration%-%platform%
29 - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
32 - cd c:\projects\gflags
34 - cmake -G "Visual Studio 14 2015"
35 -D CMAKE_BUILD_TYPE=%configuration%
36 -D GFLAGS_BUILD_TESTING=ON
37 -D GFLAGS_BUILD_SHARED_LIBS=ON
38 -D GFLAGS_BUILD_STATIC_LIBS=ON
40 - cmake --build . --config %configuration%
43 - ctest -C %configuration%