7f15ff53d8
gyp doesn't allow two files to share the same name to avoid bugs in OS X libtool, so asn1.c's need to all get a prefix. Change-Id: I3593597912c49dd02655cae329fb253ed4f6f56d Reviewed-on: https://boringssl-review.googlesource.com/5431 Reviewed-by: Adam Langley <agl@google.com>
50 lines
597 B
CMake
50 lines
597 B
CMake
include_directories(. .. ../../include)
|
|
|
|
add_library(
|
|
evp
|
|
|
|
OBJECT
|
|
|
|
algorithm.c
|
|
digestsign.c
|
|
evp.c
|
|
evp_asn1.c
|
|
evp_ctx.c
|
|
p_dsa_asn1.c
|
|
p_ec.c
|
|
p_ec_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)
|