boringssl/crypto/evp/CMakeLists.txt
David Benjamin 0b635c52b2 Add malloc test support to unit tests.
Currently far from passing and I haven't even tried with a leak checker yet.
Also bn_test is slow.

Change-Id: I4fe2783aa5f7897839ca846062ae7e4a367d2469
Reviewed-on: https://boringssl-review.googlesource.com/4794
Reviewed-by: Adam Langley <agl@google.com>
2015-05-21 17:59:48 +00:00

52 lines
620 B
CMake

include_directories(. .. ../../include)
add_library(
evp
OBJECT
algorithm.c
asn1.c
digestsign.c
evp.c
evp_ctx.c
p_dsa_asn1.c
p_ec.c
p_ec_asn1.c
p_hmac.c
p_hmac_asn1.c
p_rsa.c
p_rsa_asn1.c
pbkdf.c
sign.c
)
add_executable(
evp_extra_test
evp_extra_test.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
evp_test
evp_test.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
pbkdf_test
pbkdf_test.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(evp_extra_test crypto)
target_link_libraries(evp_test crypto)
target_link_libraries(pbkdf_test crypto)