summaryrefslogblamecommitdiffstats
path: root/src/PolarSSL++/CMakeLists.txt
blob: 14a6dc5373498b88936f7dd88c993b573f1f5b3e (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                                 


                                     
                            

                            
                      

 










                                             



                                                  

cmake_minimum_required (VERSION 2.6)
project (MCServer)

include_directories ("${PROJECT_SOURCE_DIR}/../")

set(SOURCES
	"BlockingSslClientSocket.cpp"
	"BufferedSslSocket.cpp"
	"CallbackSslContext.cpp"
	"CtrDrbgContext.cpp"
	"EntropyContext.cpp"
	"SslContext.cpp"
	"X509Cert.cpp"
)

set(HEADERS
	"BlockingSslClientSocket.h"
	"BufferedSslSocket.h"
	"CallbackSslContext.h"
	"CtrDrbgContext.h"
	"EntropyContext.h"
	"SslContext.h"
	"X509Cert.h"
)

add_library(PolarSSL++ ${SOURCES} ${HEADERS})

if (UNIX)
	target_link_libraries(PolarSSL++ polarssl)
endif()