1 include_directories(../../include) 2 3 add_library( 4 evp 5 6 OBJECT 7 8 algorithm.c 9 digestsign.c 10 evp.c 11 evp_asn1.c 12 evp_ctx.c 13 p_dsa_asn1.c 14 p_ec.c 15 p_ec_asn1.c 16 p_rsa.c 17 p_rsa_asn1.c 18 pbkdf.c 19 sign.c 20 ) 21 22 23 add_executable( 24 evp_extra_test 25 26 evp_extra_test.cc 27 28 $<TARGET_OBJECTS:test_support> 29 ) 30 31 add_executable( 32 evp_test 33 34 evp_test.cc 35 36 $<TARGET_OBJECTS:test_support> 37 ) 38 39 add_executable( 40 pbkdf_test 41 42 pbkdf_test.cc 43 44 $<TARGET_OBJECTS:test_support> 45 ) 46 47 target_link_libraries(evp_extra_test crypto) 48 target_link_libraries(evp_test crypto) 49 target_link_libraries(pbkdf_test crypto) 50 add_dependencies(all_tests evp_extra_test evp_test pbkdf_test) 51