summaryrefslogblamecommitdiffstats
path: root/src/PolarSSL++/CMakeLists.txt
blob: b0a5927603a2d640c1e3cad88bd89c10213591aa (plain) (tree)
1
2
3
4
5
6
7






                                                 











                                   

 
           











                                 


                                             



                                                  

cmake_minimum_required (VERSION 2.6)
project (MCServer)

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

set(SOURCES
	AesCfb128Decryptor.cpp
	AesCfb128Encryptor.cpp
	BlockingSslClientSocket.cpp
	BufferedSslContext.cpp
	CallbackSslContext.cpp
	CtrDrbgContext.cpp
	EntropyContext.cpp
	PublicKey.cpp
	RsaPrivateKey.cpp
	Sha1Checksum.cpp
	SslContext.cpp
	X509Cert.cpp
)

set(HEADERS
	AesCfb128Decryptor.h
	AesCfb128Encryptor.h
	BlockingSslClientSocket.h
	BufferedSslContext.h
	CallbackSslContext.h
	CtrDrbgContext.h
	EntropyContext.h
	PublicKey.h
	RsaPrivateKey.h
	SslContext.h
	Sha1Checksum.h
	X509Cert.h
)

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

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