X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=d8f618c418537be6527927d996b012c836c11996;hb=ecd98a3759889d8a34c00b559b800b107c8e5857;hp=26d2a406d35af488e2d46fc2be36755f78580068;hpb=e8322a529ed6d4d1da4f275f4f8771e65c832726;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 26d2a40..d8f618c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,6 +138,12 @@ target_link_libraries(test_grasshopper gost_engine gost_core ${OPENSSL_CRYPTO_LI add_test(NAME grasshopper COMMAND test_grasshopper) +add_executable(test_keyexpimp test_keyexpimp.c) +#target_compile_definitions(test_keyexpimp PUBLIC -DOPENSSL_LOAD_CONF) +target_link_libraries(test_keyexpimp gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME keyexpimp + COMMAND test_keyexpimp) + add_test(NAME engine COMMAND perl run_tests WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test) @@ -164,11 +170,6 @@ set(GOST_12_SUM_SOURCE_FILES add_executable(gost12sum ${GOST_12_SUM_SOURCE_FILES}) target_link_libraries(gost12sum gost_core) -add_executable(unit_expimp gost_keyexpimp.c e_gost_err.c) -target_compile_definitions(unit_expimp PUBLIC -DENABLE_UNIT_TESTS) -target_compile_definitions(unit_expimp PUBLIC -DOPENSSL_LOAD_CONF) -target_link_libraries(unit_expimp PUBLIC ${OPENSSL_CRYPTO_LIBRARY}) - set_source_files_properties(tags PROPERTIES GENERATED true) add_custom_target(tags COMMAND ctags -R . ${OPENSSL_ROOT_DIR}