c@5: project(json11) c@5: c@5: cmake_minimum_required(VERSION 2.8) c@5: c@5: enable_testing() c@5: c@5: add_definitions( c@5: -std=c++11 c@5: -fno-rtti c@5: -fno-exceptions c@5: -Wall c@5: -Wextra c@5: -Werror) c@5: c@5: set(json11_SRCS json11.cpp) c@5: c@5: add_library(json11 STATIC ${json11_SRCS}) c@5: c@5: add_test(json11_test json11_test) c@5: c@5: add_executable(json11_test ${json11_SRCS} test.cpp)