mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-14 03:37:16 +01:00
18 lines
506 B
CMake
18 lines
506 B
CMake
|
# 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 )
|