94b2861243
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
55 lines
653 B
CMake
55 lines
653 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
asn1
|
|
|
|
OBJECT
|
|
|
|
a_bitstr.c
|
|
a_bool.c
|
|
a_bytes.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
|
|
x_bignum.c
|
|
x_long.c
|
|
)
|
|
|
|
if(ENABLE_TESTS)
|
|
add_executable(
|
|
asn1_test
|
|
|
|
asn1_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(asn1_test crypto)
|
|
add_dependencies(all_tests asn1_test)
|
|
endif()
|