Land the package filesystem shell: streaming atomic package_io, journaled rollback carve-out, asymmetric platform pickers
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# The filesystem + dialog seam for bank packages. package_io / package_rollback are
|
||||
# REAPER-free (standard filesystem only), so the pure-library/test helpers fit and
|
||||
# their tests run without a DAW. The export/import verbs that drive all three targets
|
||||
# are not in this directory yet.
|
||||
|
||||
reasampler_pure_library(package_io SOURCES package_io.cpp LINK PUBLIC file_bytes)
|
||||
reasampler_test(package_io LINK package_io)
|
||||
|
||||
reasampler_pure_library(package_rollback SOURCES package_rollback.cpp LINK PUBLIC package_io)
|
||||
reasampler_test(package_rollback LINK package_rollback)
|
||||
|
||||
# The platform pickers touch the REAPER API and the native save dialog, so no test
|
||||
# target can exercise them; declared as a library so both picker paths stay compiled.
|
||||
add_library(package_pickers STATIC package_pickers.cpp)
|
||||
target_include_directories(package_pickers PUBLIC ${REASAMPLER_SRC_DIR})
|
||||
target_include_directories(package_pickers PRIVATE ${SDK_INC} ${WDL_INC})
|
||||
if(NOT WIN32)
|
||||
# Match the loadable modules: SWELL is provided by the host REAPER at runtime.
|
||||
target_compile_definitions(package_pickers PRIVATE SWELL_PROVIDED_BY_APP)
|
||||
endif()
|
||||
Reference in New Issue
Block a user