annotate ext/json11/CMakeLists.txt @ 176:60dc013bd69c

Fix handling of parsing json error responses from a server, and allow for re-writing them without changing the error message further.
author Lucas Thompson <dev@lucas.im>
date Tue, 31 Jan 2017 22:56:52 +0000
parents bf8e3e7dd7de
children d607ae858682
rev   line source
cannam@150 1 project(json11)
cannam@150 2
cannam@150 3 cmake_minimum_required(VERSION 2.8)
cannam@150 4
cannam@150 5 enable_testing()
cannam@150 6
cannam@150 7 add_definitions(
cannam@150 8 -std=c++11
cannam@150 9 -fno-rtti
cannam@150 10 -fno-exceptions
cannam@150 11 -Wall
cannam@150 12 -Wextra
cannam@150 13 -Werror)
cannam@150 14
cannam@150 15 set(json11_SRCS json11.cpp)
cannam@150 16
cannam@150 17 add_library(json11 STATIC ${json11_SRCS})
cannam@150 18
cannam@150 19 add_test(json11_test json11_test)
cannam@150 20
cannam@150 21 add_executable(json11_test ${json11_SRCS} test.cpp)