mirror of
https://github.com/nlohmann/json.git
synced 2026-03-16 22:15:59 +00:00
Appveyor
This commit is contained in:
@@ -6,9 +6,15 @@ add_executable(json_unit
|
||||
src/json.hpp test/catch.hpp test/unit.cpp
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_FLAGS
|
||||
"-std=c++11 -stdlib=libc++"
|
||||
)
|
||||
if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS
|
||||
"/EHsc"
|
||||
)
|
||||
else(MSVC)
|
||||
set(CMAKE_CXX_FLAGS
|
||||
"-std=c++11 -stdlib=libc++"
|
||||
)
|
||||
endif(MSVC)
|
||||
|
||||
include_directories(
|
||||
src test
|
||||
|
||||
@@ -5,6 +5,6 @@ install: []
|
||||
build_script:
|
||||
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
|
||||
- cmake .
|
||||
- msbuild json.sln /EHsc
|
||||
- msbuild json.sln
|
||||
test_script:
|
||||
- json_unit.exe
|
||||
|
||||
Reference in New Issue
Block a user