You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
333 B
22 lines
333 B
![]()
8 years ago
|
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)
|