| 1 |
include_directories(../../include) |
| 2 |
|
| 3 |
add_library( |
| 4 |
asn1 |
| 5 |
|
| 6 |
OBJECT |
| 7 |
|
| 8 |
a_bitstr.c |
| 9 |
a_bool.c |
| 10 |
a_bytes.c |
| 11 |
a_d2i_fp.c |
| 12 |
a_dup.c |
| 13 |
a_enum.c |
| 14 |
a_gentm.c |
| 15 |
a_i2d_fp.c |
| 16 |
a_int.c |
| 17 |
a_mbstr.c |
| 18 |
a_object.c |
| 19 |
a_octet.c |
| 20 |
a_print.c |
| 21 |
a_strnid.c |
| 22 |
a_time.c |
| 23 |
a_type.c |
| 24 |
a_utctm.c |
| 25 |
a_utf8.c |
| 26 |
asn1_lib.c |
| 27 |
asn1_par.c |
| 28 |
asn_pack.c |
| 29 |
f_enum.c |
| 30 |
f_int.c |
| 31 |
f_string.c |
| 32 |
t_bitst.c |
| 33 |
tasn_dec.c |
| 34 |
tasn_enc.c |
| 35 |
tasn_fre.c |
| 36 |
tasn_new.c |
| 37 |
tasn_typ.c |
| 38 |
tasn_utl.c |
| 39 |
x_bignum.c |
| 40 |
x_long.c |
| 41 |
) |
| 42 |
|
| 43 |
if(ENABLE_TESTS) |
| 44 |
add_executable( |
| 45 |
asn1_test |
| 46 |
|
| 47 |
asn1_test.cc |
| 48 |
|
| 49 |
$<TARGET_OBJECTS:test_support> |
| 50 |
) |
| 51 |
|
| 52 |
target_link_libraries(asn1_test crypto) |
| 53 |
add_dependencies(all_tests asn1_test) |
| 54 |
endif() |