| include_directories(../../include) |
| |
| add_library( |
| asn1 |
| |
| OBJECT |
| |
| a_bitstr.c |
| a_bool.c |
| a_d2i_fp.c |
| a_dup.c |
| a_enum.c |
| a_gentm.c |
| a_i2d_fp.c |
| a_int.c |
| a_mbstr.c |
| a_object.c |
| a_octet.c |
| a_print.c |
| a_strnid.c |
| a_time.c |
| a_type.c |
| a_utctm.c |
| a_utf8.c |
| asn1_lib.c |
| asn1_par.c |
| asn_pack.c |
| f_enum.c |
| f_int.c |
| f_string.c |
| t_bitst.c |
| tasn_dec.c |
| tasn_enc.c |
| tasn_fre.c |
| tasn_new.c |
| tasn_typ.c |
| tasn_utl.c |
| time_support.c |
| x_bignum.c |
| x_long.c |
| ) |
| |
| add_executable( |
| asn1_test |
| |
| asn1_test.cc |
| |
| $<TARGET_OBJECTS:test_support> |
| ) |
| |
| target_link_libraries(asn1_test crypto) |
| add_dependencies(all_tests asn1_test) |