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_req.c 19 t_x509.c 20 t_x509a.c 21 x509.c 22 x509_att.c 23 x509_cmp.c 24 x509_d2.c 25 x509_def.c 26 x509_ext.c 27 x509_lu.c 28 x509_obj.c 29 x509_r2x.c 30 x509_req.c 31 x509_set.c 32 x509_trs.c 33 x509_txt.c 34 x509_v3.c 35 x509_vfy.c 36 x509_vpm.c 37 x509cset.c 38 x509name.c 39 x509rset.c 40 x509spki.c 41 x509type.c 42 x_algor.c 43 x_all.c 44 x_attrib.c 45 x_crl.c 46 x_exten.c 47 x_info.c 48 x_name.c 49 x_pkey.c 50 x_pubkey.c 51 x_req.c 52 x_sig.c 53 x_spki.c 54 x_val.c 55 x_x509.c 56 x_x509a.c 57 ) 58 59 add_executable( 60 pkcs7_test 61 62 pkcs7_test.c 63 64 $<TARGET_OBJECTS:test_support> 65 ) 66 67 target_link_libraries(pkcs7_test crypto) 68 add_dependencies(all_tests pkcs7_test) 69