1include_directories(../../include) 2 3add_library( 4 pkcs8 5 6 OBJECT 7 8 pkcs8.c 9 p8_pkey.c 10 p5_pbe.c 11 p5_pbev2.c 12) 13 14add_executable( 15 pkcs12_test 16 17 pkcs12_test.cc 18 19 $<TARGET_OBJECTS:test_support> 20) 21 22add_executable( 23 pkcs8_test 24 25 pkcs8_test.cc 26) 27 28target_link_libraries(pkcs8_test crypto) 29target_link_libraries(pkcs12_test crypto) 30add_dependencies(all_tests pkcs8_test pkcs12_test) 31