annotate json/json11/CMakeLists.txt @ 5:6e8607ebad03

Promote the more successful experiments (todo: get them to build again)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 13 May 2016 13:48:59 +0100
parents
children
rev   line source
c@5 1 project(json11)
c@5 2
c@5 3 cmake_minimum_required(VERSION 2.8)
c@5 4
c@5 5 enable_testing()
c@5 6
c@5 7 add_definitions(
c@5 8 -std=c++11
c@5 9 -fno-rtti
c@5 10 -fno-exceptions
c@5 11 -Wall
c@5 12 -Wextra
c@5 13 -Werror)
c@5 14
c@5 15 set(json11_SRCS json11.cpp)
c@5 16
c@5 17 add_library(json11 STATIC ${json11_SRCS})
c@5 18
c@5 19 add_test(json11_test json11_test)
c@5 20
c@5 21 add_executable(json11_test ${json11_SRCS} test.cpp)