Add shared library build to the AppVeyor CI config. (#167)
authorDreamer <dreamer.dead@gmail.com>
Wed, 3 Aug 2016 07:24:55 +0000 (10:24 +0300)
committerAndreas Schuh <andreas.schuh.84@gmail.com>
Wed, 3 Aug 2016 07:24:55 +0000 (08:24 +0100)
appveyor.yml

index bb68600..756e5cb 100644 (file)
@@ -32,8 +32,10 @@ build_script:
   - cd c:\projects\gflags
   - mkdir out && cd out
   - cmake -G "Visual Studio 14 2015"
-    -DCMAKE_BUILD_TYPE=%configuration%
-    -DGFLAGS_BUILD_TESTING=True
+    -D CMAKE_BUILD_TYPE=%configuration%
+    -D GFLAGS_BUILD_TESTING=ON
+    -D GFLAGS_BUILD_SHARED_LIBS=ON
+    -D GFLAGS_BUILD_STATIC_LIBS=ON
     ..
   - cmake --build . --config %configuration%