aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2018-08-31 13:07:30 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2018-08-31 13:07:30 +0300
commitd8427b79e16a5c72edba109cff803e733fb1bf88 (patch)
treede958a35a685ddb7e43de999f50c6839aed18ae1 /CMakeLists.txt
parent6476d4d4966f6efcfd84c5d1c9c4e90d83aa9f14 (diff)
downloadgost-engine-d8427b79e16a5c72edba109cff803e733fb1bf88.zip
gost-engine-d8427b79e16a5c72edba109cff803e733fb1bf88.tar.gz
gost-engine-d8427b79e16a5c72edba109cff803e733fb1bf88.tar.bz2
GOST Kexp + test
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f24f26c..32c7cf3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -143,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 crypto)
+
set_source_files_properties(tags PROPERTIES GENERATED true)
add_custom_target(tags
COMMAND ctags -R . ${OPENSSL_ROOT_DIR}