summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 22:39:20 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 22:39:20 +0100
commit6cdc990884b03395cfddf5afe699a76aa491e7e3 (patch)
tree494c36697b15b660d93a356e35c4e3e82c3e51b3 /lib
parentmore cmake stuff (diff)
downloadcuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.gz
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.bz2
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.lz
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.xz
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.tar.zst
cuberite-6cdc990884b03395cfddf5afe699a76aa491e7e3.zip
Diffstat (limited to 'lib')
-rw-r--r--lib/cryptopp/CMakeLists.txt10
-rw-r--r--lib/jsoncpp/CMakeLists.txt7
2 files changed, 17 insertions, 0 deletions
diff --git a/lib/cryptopp/CMakeLists.txt b/lib/cryptopp/CMakeLists.txt
new file mode 100644
index 000000000..daa16ca53
--- /dev/null
+++ b/lib/cryptopp/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+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/")
+
+add_library(cryptopp rsa integer queue secblock misc randpool pch asn oids modarith nbtheory sha algparam fips140 pssr aes hrtimer cryptlib filters pubkey algebra simple pkcspad iterhash emsa2 eprecomp cpu rijndael)
diff --git a/lib/jsoncpp/CMakeLists.txt b/lib/jsoncpp/CMakeLists.txt
new file mode 100644
index 000000000..dd4128ade
--- /dev/null
+++ b/lib/jsoncpp/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (jsoncpp)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+
+add_library(jsoncpp src/lib_json/json_value.cpp)