Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '3party/jansson/CMakeLists.txt')
-rw-r--r--3party/jansson/CMakeLists.txt39
1 files changed, 39 insertions, 0 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)