forked from softhsm/SoftHSMv1
-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
93 lines (88 loc) · 2.61 KB
/
CMakeLists.txt
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
cmake_minimum_required(VERSION 3.2)
project(SoftHSMv1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
include_directories(.
../openssl-1.0.1i/include
src/
src/lib
src/common
src/json
src/lib/cryptoki_compat/
src/lib/cryptoki_compat/pkcs11.h
src/lib/smarthsm
/opt/local/include/botan-1.10)
set(SOURCE_FILES
checks/checks.c
checks/checks.h
checks/cryptoki.h
src/bin/base64.c
src/bin/cryptoki.h
src/bin/softhsm-keyconv.cpp
src/bin/softhsm-keyconv.h
src/bin/softhsm.cpp
src/bin/softhsm.h
src/lib/cryptoki_compat/pkcs11.h
src/lib/attribute.cpp
src/lib/attribute.h
src/lib/botan_compat.cpp
src/lib/botan_compat.h
src/lib/cryptoki.h
src/lib/file.cpp
src/lib/file.h
src/lib/log.cpp
src/lib/log.h
src/lib/main.cpp
src/lib/main.h
src/lib/mechanisms.cpp
src/lib/mechanisms.h
src/lib/MutexFactory.cpp
src/lib/MutexFactory.h
src/lib/osmutex.cpp
src/lib/osmutex.h
src/lib/SoftDatabase.cpp
src/lib/SoftDatabase.h
src/lib/SoftFind.cpp
src/lib/SoftFind.h
src/lib/SoftHSMInternal.cpp
src/lib/SoftHSMInternal.h
src/lib/SoftKeyStore.cpp
src/lib/SoftKeyStore.h
src/lib/SoftSession.cpp
src/lib/SoftSession.h
src/lib/SoftSlot.cpp
src/lib/SoftSlot.h
src/lib/tokenhandling.cpp
src/lib/tokenhandling.h
src/lib/userhandling.cpp
src/lib/userhandling.h
src/lib/util.h
src/json/json.h
src/json/jsoncpp.cpp)
set(EBFILES
src/lib/smarthsm/Retry.cpp
src/lib/smarthsm/Retry.h
src/lib/smarthsm/ShsmConnectionConfig.cpp
src/lib/smarthsm/ShsmConnectionConfig.h
src/lib/smarthsm/ShsmCreateUO.cpp
src/lib/smarthsm/ShsmCreateUO.h
src/lib/smarthsm/ShsmPrivateKey.cpp
src/lib/smarthsm/ShsmPrivateKey.h
src/lib/smarthsm/ShsmUtils.cpp
src/lib/smarthsm/ShsmUtils.h
src/common/ShsmApiUtils.cpp
src/common/ShsmApiUtils.h
src/lib/smarthsm/ShsmUserObjectInfo.cpp
src/lib/smarthsm/ShsmUserObjectInfo.h
src/lib/smarthsm/ShsmProcessDataRequest.cpp
src/lib/smarthsm/ShsmProcessDataRequest.h
src/lib/smarthsm/ShsmNullRng.cpp
src/lib/smarthsm/ShsmNullRng.h
src/lib/smarthsm/ShsmProcessDataRequestBuilder.cpp
src/lib/smarthsm/ShsmProcessDataRequestBuilder.h
src/lib/smarthsm/ShsmPrivateOperation.cpp
src/lib/smarthsm/ShsmPrivateOperation.h
src/lib/smarthsm/ShsmEngine.cpp
src/lib/smarthsm/ShsmEngine.h
src/lib/smarthsm/ShsmImportRequest.cpp
src/lib/smarthsm/ShsmImportRequest.h)
add_executable(SoftHSMv1 ${SOURCE_FILES} ${EBFILES})