build: split the 1423-line root CMakeLists into per-directory files with shared target helpers

This commit is contained in:
2026-07-30 12:19:18 -04:00
parent 25c63fb807
commit d04045be69
21 changed files with 591 additions and 1378 deletions
+17
View File
@@ -0,0 +1,17 @@
reasampler_pure_library(bank_model SOURCES bank_model.cpp LINK PRIVATE json)
reasampler_test(bank_model LINK bank_model)
reasampler_pure_library(slot_map SOURCES slot_map.cpp LINK PRIVATE json)
reasampler_test(slot_map LINK slot_map json)
reasampler_pure_library(bank_book
SOURCES bank_book.cpp bank_book_json.cpp
LINK PUBLIC bank_model slot_map PRIVATE json)
reasampler_test(bank_book LINK bank_book)
reasampler_pure_library(owned_manifest SOURCES owned_manifest.cpp LINK PRIVATE json)
reasampler_test(owned_manifest LINK owned_manifest)
reasampler_pure_library(provenance SOURCES provenance.cpp LINK PRIVATE wire)
# bank_model: the test proves the recorded recipe survives the Sample-JSON round-trip.
reasampler_test(provenance LINK provenance bank_model)