summaryrefslogtreecommitdiffstats
path: root/src/crypto/evp/CMakeLists.txt
blob: 5d2e918fc3137e5d210e1c5351d6a33f4fe73b3b (plain)
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
include_directories(../../include)

add_library(
  evp

  OBJECT

  algorithm.c
  digestsign.c
  evp.c
  evp_asn1.c
  evp_ctx.c
  p_dsa_asn1.c
  p_ec.c
  p_ec_asn1.c
  p_rsa.c
  p_rsa_asn1.c
  pbkdf.c
  sign.c
)


add_executable(
  evp_extra_test

  evp_extra_test.cc

  $<TARGET_OBJECTS:test_support>
)

add_executable(
  evp_test

  evp_test.cc

  $<TARGET_OBJECTS:test_support>
)

add_executable(
  pbkdf_test

  pbkdf_test.cc

  $<TARGET_OBJECTS:test_support>
)

target_link_libraries(evp_extra_test crypto)
target_link_libraries(evp_test crypto)
target_link_libraries(pbkdf_test crypto)