Skip to content

Commit f992d95

Browse files
committed
dgb(cmake): wire dgb_coin via add_subdirectory (Phase A #82)
Flip per OBJECT-lib convention: register src/impl/dgb at top level and enable the coin subdir under COIN_DGB. dgb_coin now builds standalone (-DCOIN_DGB=ON); libdgb_coin.a links clean, 0 errors. daemon/test stay commented (M3).
1 parent 5014040 commit f992d95

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/impl/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
add_subdirectory(ltc)
2-
add_subdirectory(btc)
2+
add_subdirectory(btc)
3+
add_subdirectory(dgb)

src/impl/dgb/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# follows the OBJECT-lib convention PR; held ~2-3 heartbeats, not raced here.
1919
if(COIN_DGB)
2020
message(STATUS "c2pool: DGB Scrypt-only coin module enabled (skeleton)")
21-
# add_subdirectory(coin)
21+
add_subdirectory(coin)
2222
# add_subdirectory(daemon)
2323
# add_subdirectory(test)
2424
endif()

0 commit comments

Comments
 (0)