Appveyor
This commit is contained in:
1 parent
ecc97bcf96
commit
14e54b2b72
2 files changed
+10
-4
No files matched your search
+9
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user