mirror of
https://github.com/fumiama/simple-crypto.git
synced 2026-06-13 07:40:55 +08:00
add arcive
This commit is contained in:
@@ -15,6 +15,9 @@ if(TEST)
|
|||||||
add_executable(stea tea.c)
|
add_executable(stea tea.c)
|
||||||
else()
|
else()
|
||||||
add_library(scrypto SHARED md5.c tea.c)
|
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 LIBRARY DESTINATION lib)
|
||||||
|
INSTALL(TARGETS scrypto_static ARCHIVE DESTINATION lib)
|
||||||
INSTALL(FILES simplecrypto.h DESTINATION include)
|
INSTALL(FILES simplecrypto.h DESTINATION include)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user