1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-14 03:37:16 +01:00
SqMod/source/Library/Crypt/Hash/CMakeLists.txt

18 lines
506 B
CMake
Raw Normal View History

2020-03-21 21:00:02 +01:00
# Create the HashLib library
add_library(HashLib STATIC
include/hash.h
include/hmac.h
include/crc32.h crc32.cpp
include/keccak.h keccak.cpp
include/md5.h md5.cpp
include/sha1.h sha1.cpp
include/sha3.h sha3.cpp
include/sha256.h sha256.cpp
digest.cpp
)
# Configure include folders
target_include_directories(HashLib PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(HashLib PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
# Configure build options
target_compile_definitions(HashLib PRIVATE )