boringssl/crypto/ec/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

37 lines
414 B
CMake

include_directories(. .. ../../include)
add_library(
ec
OBJECT
ec.c
ec_asn1.c
ec_key.c
ec_montgomery.c
oct.c
p256-64.c
util-64.c
simple.c
wnaf.c
)
add_executable(
example_mul
example_mul.c
$<TARGET_OBJECTS:test_support>
)
add_executable(
ec_test
ec_test.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(example_mul crypto)
target_link_libraries(ec_test crypto)