Skip to content

Commit

Permalink
Use an object library to avoid recompilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Nov 27, 2024
1 parent 67e0fbc commit 09e99f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function(ConfigureTest)
PRIVATE cuvs
cuvs::cuvs
raft::raft
rmm::rmm_logger_impl
test_rmm_logger
GTest::gtest
GTest::gtest_main
Threads::Threads
Expand Down Expand Up @@ -88,6 +88,9 @@ function(ConfigureTest)
)
endfunction()

add_library(test_rmm_logger OBJECT)
target_link_libraries(test_rmm_logger PRIVATE rmm::rmm_logger_impl)

# ##################################################################################################
# test sources ##################################################################################
# ##################################################################################################
Expand Down

0 comments on commit 09e99f8

Please sign in to comment.