summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/PolarSSL++/CMakeLists.txt')
-rw-r--r--src/PolarSSL++/CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/PolarSSL++/CMakeLists.txt b/src/PolarSSL++/CMakeLists.txt
new file mode 100644
index 000000000..0493baba4
--- /dev/null
+++ b/src/PolarSSL++/CMakeLists.txt
@@ -0,0 +1,31 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+set(SOURCES
+ "BlockingSslClientSocket.cpp"
+ "BufferedSslContext.cpp"
+ "CallbackSslContext.cpp"
+ "CtrDrbgContext.cpp"
+ "EntropyContext.cpp"
+ "SslContext.cpp"
+ "X509Cert.cpp"
+)
+
+set(HEADERS
+ "BlockingSslClientSocket.h"
+ "BufferedSslContext.h"
+ "CallbackSslContext.h"
+ "CtrDrbgContext.h"
+ "EntropyContext.h"
+ "SslContext.h"
+ "X509Cert.h"
+)
+
+add_library(PolarSSL++ ${SOURCES} ${HEADERS})
+
+if (UNIX)
+ target_link_libraries(PolarSSL++ polarssl)
+endif()