Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « err « crypto - github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a9ac70a2c232e9020dad103112c081c017baec01 (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
50
include_directories(../../include)

#add_custom_command(
#  OUTPUT err_data.c
#  COMMAND ${GO_EXECUTABLE} run err_data_generate.go > ${CMAKE_CURRENT_BINARY_DIR}/err_data.c
#  DEPENDS
#  err_data_generate.go
#  asn1.errordata
#  bio.errordata
#  bn.errordata
#  cipher.errordata
#  conf.errordata
#  dh.errordata
#  digest.errordata
#  dsa.errordata
#  ecdh.errordata
#  ecdsa.errordata
#  ec.errordata
#  engine.errordata
#  evp.errordata
#  hkdf.errordata
#  obj.errordata
#  pem.errordata
#  pkcs8.errordata
#  rsa.errordata
#  ssl.errordata
#  x509.errordata
#  x509v3.errordata
#  WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
#)

add_library(
  err

  OBJECT

  err.c
  err_data.c
)

add_executable(
  err_test

  err_test.cc

  $<TARGET_OBJECTS:test_support>
)

target_link_libraries(err_test crypto)
add_dependencies(all_tests err_test)