2015-04-26 21:21:16 +00:00
|
|
|
cmake_minimum_required(VERSION 3.1.2)
|
2015-04-26 20:47:40 +00:00
|
|
|
|
|
|
|
project(json CXX)
|
|
|
|
|
|
|
|
add_executable(json_unit
|
|
|
|
src/json.hpp test/catch.hpp test/unit.cpp
|
|
|
|
)
|
|
|
|
|
2015-04-26 21:31:22 +00:00
|
|
|
set(CMAKE_CXX_FLAGS
|
|
|
|
"-std=c++11 -stdlib=libc++"
|
2015-04-26 20:47:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
src test
|
|
|
|
)
|