2015-08-25 02:03:17 +01:00
|
|
|
include_directories(../../include)
|
2014-06-20 20:00:00 +01:00
|
|
|
|
|
|
|
add_library(
|
2015-01-29 00:37:10 +00:00
|
|
|
ecdsa
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
OBJECT
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
ecdsa.c
|
|
|
|
ecdsa_asn1.c
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
ecdsa_test
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-04-15 20:56:27 +01:00
|
|
|
ecdsa_test.cc
|
2015-05-16 00:08:49 +01:00
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
2016-08-28 04:17:33 +01:00
|
|
|
add_executable(
|
|
|
|
ecdsa_sign_test
|
|
|
|
|
|
|
|
ecdsa_sign_test.cc
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2016-08-28 04:25:29 +01:00
|
|
|
add_executable(
|
|
|
|
ecdsa_verify_test
|
|
|
|
|
|
|
|
ecdsa_verify_test.cc
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2014-06-20 20:00:00 +01:00
|
|
|
target_link_libraries(ecdsa_test crypto)
|
2016-08-28 04:17:33 +01:00
|
|
|
target_link_libraries(ecdsa_sign_test crypto)
|
2016-08-28 04:25:29 +01:00
|
|
|
target_link_libraries(ecdsa_verify_test crypto)
|
|
|
|
add_dependencies(all_tests ecdsa_test ecdsa_sign_test ecdsa_verify_test)
|