mirror of
https://github.com/nlohmann/json
synced 2024-11-23 20:40:08 +00:00
16 lines
223 B
CMake
16 lines
223 B
CMake
cmake_minimum_required(VERSION 3.1.2)
|
|
|
|
project(json CXX)
|
|
|
|
add_executable(json_unit
|
|
src/json.hpp test/catch.hpp test/unit.cpp
|
|
)
|
|
|
|
set(CMAKE_CXX_FLAGS
|
|
"-std=c++11 -stdlib=libc++"
|
|
)
|
|
|
|
include_directories(
|
|
src test
|
|
)
|