Add fancy hashing

This commit is contained in:
John
2025-04-27 21:30:25 +12:00
parent a2c233e328
commit b1e51b91d2
5 changed files with 123 additions and 2 deletions

View File

@ -27,8 +27,12 @@ configure_file(
@ONLY
)
# Set CMAKE_MODULE_PATH to include our custom find modules
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# Find required packages
find_package(TBB REQUIRED)
find_package(xxHash REQUIRED)
# Auto-detect source files
file(GLOB_RECURSE SOURCES "src/*.cpp")
@ -41,11 +45,13 @@ add_executable(dropshell ${SOURCES})
target_include_directories(dropshell PRIVATE
src
${CMAKE_CURRENT_BINARY_DIR}/src
${xxHash_INCLUDE_DIRS}
)
# Link libraries
target_link_libraries(dropshell PRIVATE
TBB::tbb
${xxHash_LIBRARIES}
)
# Install targets