94b2861243
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
33 lines
414 B
CMake
33 lines
414 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
pkcs8_lib
|
|
|
|
OBJECT
|
|
|
|
pkcs8.c
|
|
p8_pkey.c
|
|
p5_pbe.c
|
|
p5_pbev2.c
|
|
)
|
|
|
|
if(ENABLE_TESTS)
|
|
add_executable(
|
|
pkcs12_test
|
|
|
|
pkcs12_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
add_executable(
|
|
pkcs8_test
|
|
|
|
pkcs8_test.cc
|
|
)
|
|
|
|
target_link_libraries(pkcs8_test crypto)
|
|
target_link_libraries(pkcs12_test crypto)
|
|
add_dependencies(all_tests pkcs8_test pkcs12_test)
|
|
endif()
|