Mercurial > hg > piper-cpp
annotate ext/json11/CMakeLists.txt @ 227:c6aed932318d
Small comment
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 09 Jun 2017 16:47:58 +0100 |
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) |