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