4a0f0c4910
find -name CMakeLists.txt -type f | xargs sed -e 's/\t/ /g' -i Change-Id: I01636b1849c00ba918f48828252492d99b0403ac
32 lines
334 B
CMake
32 lines
334 B
CMake
include_directories(. .. ../../include)
|
|
|
|
add_library(
|
|
ec
|
|
|
|
OBJECT
|
|
|
|
ec.c
|
|
oct.c
|
|
simple.c
|
|
ec_montgomery.c
|
|
wnaf.c
|
|
ec_key.c
|
|
ec_asn1.c
|
|
ec_error.c
|
|
)
|
|
|
|
add_executable(
|
|
example_mul
|
|
|
|
example_mul.c
|
|
)
|
|
|
|
add_executable(
|
|
ec_test
|
|
|
|
ec_test.c
|
|
)
|
|
|
|
target_link_libraries(example_mul crypto)
|
|
target_link_libraries(ec_test crypto)
|