mirror of
https://github.com/nlohmann/json.git
synced 2024-08-21 04:22:28 +02:00
16 lines
229 B
CMake
16 lines
229 B
CMake
|
cmake_minimum_required(VERSION 3.2)
|
||
|
|
||
|
project(json CXX)
|
||
|
|
||
|
add_executable(json_unit
|
||
|
src/json.hpp test/catch.hpp test/unit.cpp
|
||
|
)
|
||
|
|
||
|
target_compile_features(json_unit
|
||
|
PRIVATE cxx_range_for
|
||
|
)
|
||
|
|
||
|
include_directories(
|
||
|
src test
|
||
|
)
|