diff options
author | Timofey <t.danshin@corp.mail.ru> | 2016-09-13 19:51:58 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2016-09-28 18:58:24 +0300 |
commit | ff855ad4133539dcc8a05e18fa0c0b318c65fb58 (patch) | |
tree | bfbb8f0f41cb217cd61f11f50f5bfbd1361425ca /3party | |
parent | 2143577410e715b5867addfb97bb0fdc2c18b170 (diff) |
Working on platform.
Diffstat (limited to '3party')
-rw-r--r-- | 3party/jansson/CMakeLists.txt | 39 | ||||
-rw-r--r-- | 3party/minizip/CMakeLists.txt | 1 | ||||
-rw-r--r-- | 3party/succinct/CMakeLists.txt | 1 | ||||
-rw-r--r-- | 3party/tomcrypt/CMakeLists.txt | 1 |
4 files changed, 39 insertions, 3 deletions
diff --git a/3party/jansson/CMakeLists.txt b/3party/jansson/CMakeLists.txt new file mode 100644 index 0000000000..741cf615c8 --- /dev/null +++ b/3party/jansson/CMakeLists.txt @@ -0,0 +1,39 @@ +cmake_minimum_required(VERSION 3.2) + +project(jansson C CXX) + +include_directories(src ../../) + +add_compile_options( + "-Wall" + "-Wno-unused-function" +) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + + +set( + SRC + jansson_handle.cpp + jansson_handle.hpp + myjansson.cpp + myjansson.hpp + src/dump.c + src/error.c + src/hashtable.c + src/hashtable.h + src/jansson.h + src/jansson_config.h + src/jansson_private.h + src/load.c + src/memory.c + src/strbuffer.c + src/strbuffer.h + src/strconv.c + src/utf.c + src/utf.h + src/value.c +) + +add_library(jansson ${SRC}) +set_target_properties(jansson PROPERTIES ENABLE_EXPORTS ON) diff --git a/3party/minizip/CMakeLists.txt b/3party/minizip/CMakeLists.txt index cbcee9962e..98a51deda2 100644 --- a/3party/minizip/CMakeLists.txt +++ b/3party/minizip/CMakeLists.txt @@ -4,7 +4,6 @@ project(minizip C CXX) add_compile_options( "-Wall" - "-pedantic" ) add_definitions(-DUSE_FILE32ZPI -DNOCRYPT) diff --git a/3party/succinct/CMakeLists.txt b/3party/succinct/CMakeLists.txt index 6ad024e8ac..fcfb913054 100644 --- a/3party/succinct/CMakeLists.txt +++ b/3party/succinct/CMakeLists.txt @@ -4,7 +4,6 @@ project(succinct C CXX) add_compile_options( "-Wall" - "-pedantic" "-std=c++11" ) diff --git a/3party/tomcrypt/CMakeLists.txt b/3party/tomcrypt/CMakeLists.txt index fd1c084b0f..f3c34bbcfc 100644 --- a/3party/tomcrypt/CMakeLists.txt +++ b/3party/tomcrypt/CMakeLists.txt @@ -4,7 +4,6 @@ project(tomcrypt C CXX) add_compile_options( "-Wall" - "-pedantic" ) add_definitions(-DLTC_NO_ROLC) |