]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Make tags
authorDmitry Belyavskiy <beldmit@gmail.com>
Thu, 21 Jun 2018 09:04:45 +0000 (12:04 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 21 Jun 2018 09:04:45 +0000 (12:04 +0300)
CMakeLists.txt

index 82c0ac47ad0433c3a14ba3e775d5f4e707df9db6..ba0cc715045372b379ed9d4862c66eef352070d4 100644 (file)
@@ -131,6 +131,11 @@ set(GOST_12_SUM_SOURCE_FILES
 add_executable(gost12sum ${GOST_12_SUM_SOURCE_FILES})
 target_link_libraries(gost12sum gost_core)
 
+set_source_files_properties(tags PROPERTIES GENERATED true)
+add_custom_target(tags
+    COMMAND ctags -R . ${OPENSSL_ROOT_DIR}
+    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
+
 # install
 set(OPENSSL_ENGINES_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/engines-${OPENSSL_VERSION_MAJOR}_${OPENSSL_VERSION_MINOR})
 set(OPENSSL_MAN_INSTALL_DIR ${CMAKE_INSTALL_MANDIR}/man1)