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