2014-06-20 20:00:00 +01:00
|
|
|
include_directories(. .. ../../include)
|
|
|
|
|
|
|
|
add_library(
|
2015-01-29 00:37:10 +00:00
|
|
|
evp
|
|
|
|
|
|
|
|
OBJECT
|
|
|
|
|
|
|
|
algorithm.c
|
|
|
|
digestsign.c
|
|
|
|
evp.c
|
2015-07-13 22:03:20 +01:00
|
|
|
evp_asn1.c
|
2015-01-29 00:37:10 +00:00
|
|
|
evp_ctx.c
|
2015-01-30 01:25:29 +00:00
|
|
|
p_dsa_asn1.c
|
2015-01-29 00:37:10 +00:00
|
|
|
p_ec.c
|
|
|
|
p_ec_asn1.c
|
|
|
|
p_rsa.c
|
|
|
|
p_rsa_asn1.c
|
|
|
|
pbkdf.c
|
|
|
|
sign.c
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(
|
2015-05-10 03:52:33 +01:00
|
|
|
evp_extra_test
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-05-10 03:52:33 +01:00
|
|
|
evp_extra_test.cc
|
2015-05-16 00:08:49 +01:00
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
2015-05-11 20:58:08 +01:00
|
|
|
add_executable(
|
|
|
|
evp_test
|
|
|
|
|
|
|
|
evp_test.cc
|
2015-05-16 00:08:49 +01:00
|
|
|
|
2015-05-11 20:58:08 +01:00
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2015-01-28 20:23:34 +00:00
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
pbkdf_test
|
2015-01-28 20:23:34 +00:00
|
|
|
|
2015-03-22 23:53:05 +00:00
|
|
|
pbkdf_test.cc
|
2015-05-16 00:08:49 +01:00
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
2015-01-28 20:23:34 +00:00
|
|
|
)
|
|
|
|
|
2015-05-10 03:52:33 +01:00
|
|
|
target_link_libraries(evp_extra_test crypto)
|
2015-05-11 20:58:08 +01:00
|
|
|
target_link_libraries(evp_test crypto)
|
2015-01-28 20:23:34 +00:00
|
|
|
target_link_libraries(pbkdf_test crypto)
|