Mercurial > hg > piper-cpp
view json11/CMakeLists.txt @ 116:d15cb1151d76
Add JSON support directly to the server. Had hoped to avoid this (using Capnp as canonical in the server and then converting externally as necessary) but it's just too useful for debugging purposes when bundled with client app
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 27 Oct 2016 11:39:41 +0100 |
parents | 81e1c48e97f9 |
children |
line wrap: on
line source
project(json11) cmake_minimum_required(VERSION 2.8) enable_testing() add_definitions( -std=c++11 -fno-rtti -fno-exceptions -Wall -Wextra -Werror) set(json11_SRCS json11.cpp) add_library(json11 STATIC ${json11_SRCS}) add_test(json11_test json11_test) add_executable(json11_test ${json11_SRCS} test.cpp)