X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=ca8992d32754844cb59dd38194a0a93215c3739c;hb=edf43868fd2ff1b8a487aa61230410d18844f278;hp=af73f450def0fd820ea3b232065553fefad859f7;hpb=4f5c0289ff2ad78c6761b8b63630ef62379a3c86;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index af73f45..ca8992d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,6 +81,7 @@ set(GOST_CORE_SOURCE_FILES gost_keywrap.h gost_lcl.h gost_params.c + gost_keyexpimp.c ) set(GOST_EC_SOURCE_FILES @@ -125,7 +126,7 @@ add_library(gost_core STATIC ${GOST_LIB_SOURCE_FILES}) set_target_properties(gost_core PROPERTIES POSITION_INDEPENDENT_CODE ON) add_library(gost_engine MODULE ${GOST_ENGINE_SOURCE_FILES}) -set_target_properties(gost_engine PROPERTIES PREFIX "" OUTPUT_NAME "libgost") +set_target_properties(gost_engine PROPERTIES PREFIX "" OUTPUT_NAME "gost") target_link_libraries(gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) set(GOST_SUM_SOURCE_FILES @@ -142,6 +143,11 @@ 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}