comparison json11/CMakeLists.txt @ 75:81e1c48e97f9

Rearrange and rename to Piper C++ structure
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 10 Oct 2016 16:31:09 +0100
parents
children
comparison
equal deleted inserted replaced
74:d45cfa25aaad 75:81e1c48e97f9
1 project(json11)
2
3 cmake_minimum_required(VERSION 2.8)
4
5 enable_testing()
6
7 add_definitions(
8 -std=c++11
9 -fno-rtti
10 -fno-exceptions
11 -Wall
12 -Wextra
13 -Werror)
14
15 set(json11_SRCS json11.cpp)
16
17 add_library(json11 STATIC ${json11_SRCS})
18
19 add_test(json11_test json11_test)
20
21 add_executable(json11_test ${json11_SRCS} test.cpp)