1
0
mirror of https://github.com/fumiama/simple-crypto.git synced 2026-06-06 18:30:22 +08:00

add arcive

This commit is contained in:
源文雨
2022-04-18 16:20:49 +08:00
parent 2e833f3ab8
commit af160d2906

View File

@@ -15,6 +15,9 @@ if(TEST)
add_executable(stea tea.c)
else()
add_library(scrypto SHARED md5.c tea.c)
add_library(scrypto_static STATIC md5.c tea.c)
set_target_properties(scrypto_static PROPERTIES OUTPUT_NAME scrypto)
INSTALL(TARGETS scrypto LIBRARY DESTINATION lib)
INSTALL(TARGETS scrypto_static ARCHIVE DESTINATION lib)
INSTALL(FILES simplecrypto.h DESTINATION include)
endif()