summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cryptopp/CMakeLists.txt15
-rw-r--r--lib/inifile/CMakeLists.txt7
-rw-r--r--lib/jsoncpp/CMakeLists.txt13
3 files changed, 35 insertions, 0 deletions
diff --git a/lib/cryptopp/CMakeLists.txt b/lib/cryptopp/CMakeLists.txt
new file mode 100644
index 000000000..e0e65c818
--- /dev/null
+++ b/lib/cryptopp/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (cryptopp)
+
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCRYPTOPP_DISABLE_ASM")
+endif()
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+file(GLOB cryptopp_SRC
+ "*.h"
+ "*.cpp"
+)
+
+add_library(cryptopp ${cryptopp_SRC})
diff --git a/lib/inifile/CMakeLists.txt b/lib/inifile/CMakeLists.txt
new file mode 100644
index 000000000..efbd09796
--- /dev/null
+++ b/lib/inifile/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (iniFile)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+add_library(iniFile iniFile)
diff --git a/lib/jsoncpp/CMakeLists.txt b/lib/jsoncpp/CMakeLists.txt
new file mode 100644
index 000000000..6c678f6a6
--- /dev/null
+++ b/lib/jsoncpp/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (jsoncpp)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+file(GLOB SOURCE
+ "src/lib_json/*.h"
+ "src/lib_json/*.cpp"
+)
+
+
+add_library(jsoncpp ${SOURCE})