Skip to content

Commit

Permalink
Update cooler and hic target names
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Jul 26, 2023
1 parent f5aa042 commit 1b49294
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions src/libhictk/cooler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ if(HICTK_WITH_EIGEN)
QUIET)
endif()

add_library(cooler INTERFACE)
add_library(hictk::cooler ALIAS cooler)
add_library(hictk_cooler INTERFACE)
add_library(hictk::cooler ALIAS hictk_cooler)
target_sources(
cooler
hictk_cooler
PUBLIC FILE_SET
HEADERS
BASE_DIRS
Expand All @@ -53,10 +53,10 @@ target_sources(
${CMAKE_CURRENT_SOURCE_DIR}/utils_merge_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/validation_impl.hpp)

target_include_directories(cooler INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include/)
target_include_directories(hictk_cooler INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include/)

target_link_libraries(
cooler
hictk_cooler
INTERFACE hictk_project_warnings
hictk_project_options
hictk::balancing
Expand All @@ -71,7 +71,7 @@ target_link_libraries(
hictk::variant)

target_link_system_libraries(
cooler
hictk_cooler
INTERFACE
$<$<BOOL:${HICTK_WITH_EIGEN}>:Eigen3::Eigen>
FastFloat::fast_float
Expand All @@ -82,4 +82,4 @@ target_link_system_libraries(
spdlog::spdlog
std::filesystem)

install(TARGETS cooler FILE_SET HEADERS EXCLUDE_FROM_ALL)
install(TARGETS hictk_cooler FILE_SET HEADERS EXCLUDE_FROM_ALL)
12 changes: 6 additions & 6 deletions src/libhictk/hic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ if(HICTK_WITH_EIGEN)
endif()
endif()

add_library(hic INTERFACE)
add_library(hictk::hic ALIAS hic)
add_library(hictk_hic INTERFACE)
add_library(hictk::hic ALIAS hictk_hic)

target_sources(
hic
hictk_hic
PUBLIC FILE_SET
HEADERS
BASE_DIRS
Expand All @@ -40,9 +40,9 @@ target_sources(
${CMAKE_CURRENT_SOURCE_DIR}/utils_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/weight_cache_impl.hpp)

target_include_directories(hic INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_include_directories(hictk_hic INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(
hic
hictk_hic
INTERFACE hictk_project_options
hictk_project_warnings
hictk::balancing
Expand All @@ -51,7 +51,7 @@ target_link_libraries(
hictk::reference)

target_link_system_libraries(
hic
hictk_hic
INTERFACE
$<$<BOOL:${HICTK_WITH_EIGEN}>:Eigen3::Eigen>
fmt::fmt
Expand Down

0 comments on commit 1b49294

Please sign in to comment.