1 include_directories(. .. ../../include) 2 3 add_library( 4 x509 5 6 OBJECT 7 8 a_digest.c 9 a_sign.c 10 a_strex.c 11 a_verify.c 12 asn1_gen.c 13 by_dir.c 14 by_file.c 15 i2d_pr.c 16 pkcs7.c 17 t_crl.c 18 t_x509.c 19 t_x509a.c 20 x509.c 21 x509_att.c 22 x509_cmp.c 23 x509_d2.c 24 x509_def.c 25 x509_ext.c 26 x509_lu.c 27 x509_obj.c 28 x509_r2x.c 29 x509_req.c 30 x509_set.c 31 x509_trs.c 32 x509_txt.c 33 x509_v3.c 34 x509_vfy.c 35 x509_vpm.c 36 x509cset.c 37 x509name.c 38 x509rset.c 39 x509spki.c 40 x509type.c 41 x_algor.c 42 x_all.c 43 x_attrib.c 44 x_crl.c 45 x_exten.c 46 x_info.c 47 x_name.c 48 x_pkey.c 49 x_pubkey.c 50 x_req.c 51 x_sig.c 52 x_spki.c 53 x_val.c 54 x_x509.c 55 x_x509a.c 56 ) 57 58 add_executable( 59 pkcs7_test 60 61 pkcs7_test.c 62 63 $<TARGET_OBJECTS:test_support> 64 ) 65 66 target_link_libraries(pkcs7_test crypto) 67