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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user