blob: 18ef22312896fb828e0172cdf8c58e57646e6463 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
project (Cuberite)
include_directories ("${PROJECT_SOURCE_DIR}/../")
set(SRCS
AesCfb128Decryptor.cpp
AesCfb128Encryptor.cpp
BlockingSslClientSocket.cpp
BufferedSslContext.cpp
CallbackSslContext.cpp
CtrDrbgContext.cpp
CryptoKey.cpp
EntropyContext.cpp
RsaPrivateKey.cpp
Sha1Checksum.cpp
SslConfig.cpp
SslContext.cpp
X509Cert.cpp
)
set(HDRS
AesCfb128Decryptor.h
AesCfb128Encryptor.h
BlockingSslClientSocket.h
BufferedSslContext.h
CallbackSslContext.h
CtrDrbgContext.h
CryptoKey.h
EntropyContext.h
ErrorCodes.h
RsaPrivateKey.h
SslConfig.h
SslContext.h
Sha1Checksum.h
X509Cert.h
)
if(NOT MSVC)
add_library(mbedTLS++ ${SRCS} ${HDRS})
if (UNIX)
target_link_libraries(mbedTLS++ mbedtls)
endif()
endif()
|