Commit 14e54b2b authored by Niels's avatar Niels

Appveyor

parent ecc97bcf
...@@ -6,9 +6,15 @@ add_executable(json_unit ...@@ -6,9 +6,15 @@ add_executable(json_unit
src/json.hpp test/catch.hpp test/unit.cpp src/json.hpp test/catch.hpp test/unit.cpp
) )
set(CMAKE_CXX_FLAGS if(MSVC)
"-std=c++11 -stdlib=libc++" set(CMAKE_CXX_FLAGS
) "/EHsc"
)
else(MSVC)
set(CMAKE_CXX_FLAGS
"-std=c++11 -stdlib=libc++"
)
endif(MSVC)
include_directories( include_directories(
src test src test
......
...@@ -5,6 +5,6 @@ install: [] ...@@ -5,6 +5,6 @@ install: []
build_script: build_script:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
- cmake . - cmake .
- msbuild json.sln /EHsc - msbuild json.sln
test_script: test_script:
- json_unit.exe - json_unit.exe
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment