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 algorithm.c 13 asn1_gen.c 14 by_dir.c 15 by_file.c 16 i2d_pr.c 17 pkcs7.c 18 rsa_pss.c 19 t_crl.c 20 t_req.c 21 t_x509.c 22 t_x509a.c 23 x509.c 24 x509_att.c 25 x509_cmp.c 26 x509_d2.c 27 x509_def.c 28 x509_ext.c 29 x509_lu.c 30 x509_obj.c 31 x509_r2x.c 32 x509_req.c 33 x509_set.c 34 x509_trs.c 35 x509_txt.c 36 x509_v3.c 37 x509_vfy.c 38 x509_vpm.c 39 x509cset.c 40 x509name.c 41 x509rset.c 42 x509spki.c 43 x509type.c 44 x_algor.c 45 x_all.c 46 x_attrib.c 47 x_crl.c 48 x_exten.c 49 x_info.c 50 x_name.c 51 x_pkey.c 52 x_pubkey.c 53 x_req.c 54 x_sig.c 55 x_spki.c 56 x_val.c 57 x_x509.c 58 x_x509a.c 59 ) 60 61 add_executable( 62 pkcs7_test 63 64 pkcs7_test.c 65 66 $<TARGET_OBJECTS:test_support> 67 ) 68 69 add_executable( 70 x509_test 71 72 x509_test.cc 73 74 $<TARGET_OBJECTS:test_support> 75 ) 76 77 target_link_libraries(pkcs7_test crypto) 78 target_link_libraries(x509_test crypto) 79 add_dependencies(all_tests pkcs7_test x509_test) 80