Skip to content

Commit

Permalink
Share code.
Browse files Browse the repository at this point in the history
Signed-off-by: vegetableysm <[email protected]>
  • Loading branch information
vegetableysm committed Mar 29, 2024
1 parent b7a037f commit 76e9175
Show file tree
Hide file tree
Showing 15 changed files with 1,984 additions and 10 deletions.
14 changes: 14 additions & 0 deletions modules/basic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/BBHash
PATTERN "*.hpp" # select C++ template header files
)

install(DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/grape_perfect_hash
DESTINATION include/vineyard/contrib # target directory
FILES_MATCHING # install only matched files
PATTERN "*.h" # select header files
PATTERN "*.hpp" # select C++ template header files
)

# install bundled thirdparty: cityhash
install(DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/cityhash
DESTINATION include/vineyard/contrib # target directory
Expand All @@ -79,6 +86,13 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/cityhash
PATTERN "*.hpp" # select C++ template header files
)

install(DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/pthash
DESTINATION include/vineyard/contrib # target directory
FILES_MATCHING # install only matched files
PATTERN "*.h" # select header files
PATTERN "*.hpp" # select C++ template header files
)

target_include_directories(vineyard_basic PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/thirdparty>
$<INSTALL_INTERFACE:include/vineyard/contrib>
Expand Down
Loading

0 comments on commit 76e9175

Please sign in to comment.