Skip to content

Commit

Permalink
[cmake] move remote_worker_101 to an individual target (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
Layamon committed Dec 13, 2021
1 parent b3d32b2 commit b9d2092
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -789,8 +789,7 @@ IF(WITH_TERARK_ZIP)
table/terark_zip_config.cc
table/terark_zip_table_builder.cc
table/terark_zip_table_reader.cc
table/terark_zip_table.cc
tools/remote_compaction_worker_101.cc)
table/terark_zip_table.cc)
ENDIF()

IF(WITH_TESTS OR WITH_TOOLS)
Expand Down Expand Up @@ -1208,6 +1207,10 @@ if(WITH_TOOLS)
$<TARGET_OBJECTS:testharness>)
target_link_libraries(db_bench${ARTIFACT_SUFFIX} gtest ${ROCKSDB_STATIC_LIB})

add_executable(remote_compaction_worker_101 tools/remote_compaction_worker_101.cc
$<TARGET_OBJECTS:testharness>)
target_link_libraries(remote_compaction_worker_101 gtest ${ROCKSDB_STATIC_LIB})

if(WITH_ZENFS)
include_directories(third-party/zenfs)
add_executable(zenfs${ARTIFACT_SUFFIX} third-party/zenfs/util/zenfs.cc
Expand Down

0 comments on commit b9d2092

Please sign in to comment.