Mercurial > hg > piper-cpp
view ext/json11/CMakeLists.txt @ 180:bd543e74a9bf
Correct the inspection of the JSON object in successful to look for both error and success objects, writing out an error string if neither are present. Revert error handling in readInput() for JSON.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 03 Feb 2017 11:12:27 +0000 |
parents | bf8e3e7dd7de |
children | d607ae858682 |
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)