summaryrefslogtreecommitdiffstats
path: root/src/ssl/CMakeLists.txt
blob: cf5a29d5a2da80533bad9539625360a6da85312b (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
include_directories(. .. ../include)

add_subdirectory(pqueue)

add_library(
  ssl

  d1_both.c
  d1_clnt.c
  d1_lib.c
  d1_meth.c
  d1_pkt.c
  d1_srtp.c
  d1_srvr.c
  s3_both.c
  s3_clnt.c
  s3_enc.c
  s3_lib.c
  s3_meth.c
  s3_pkt.c
  s3_srvr.c
  ssl_aead_ctx.c
  ssl_algs.c
  ssl_asn1.c
  ssl_cert.c
  ssl_cipher.c
  ssl_lib.c
  ssl_rsa.c
  ssl_sess.c
  ssl_stat.c
  ssl_txt.c
  t1_enc.c
  t1_lib.c
  t1_reneg.c

  $<TARGET_OBJECTS:pqueue>
)

add_executable(
  ssl_test

  ssl_test.cc

  $<TARGET_OBJECTS:test_support>
)

target_link_libraries(ssl_test ssl crypto)