Restructure bin/: deployables at root, tests and tools in subfolders
Only the shipping artifacts (coop_host.exe, coop_hook.dll, coop_hook_x86.dll, coop_inject_x86.exe, steam_api64.dll, steam_input_actions.vdf) now land in the bin/<config>/ root, so it can be copied wholesale into a donor game folder. Test exes (plus the coop_tone fixture) build into bin/<config>/tests/ and the dev probes into bin/<config>/tools/, via a new coop_output_subdir() CMake helper. The probes resolve coop_hook.dll / the x86 injector from the deployable root one level up (new common/coop/tool_paths.hpp: deployed_artifact_path checks next-to-exe then parent). coop_tone is co-located with the tests so audio_loopback_test's "spawn coop_tone.exe next to me" lookup is unchanged. Verified from a clean bin/: root holds only deployables; ctest x64 7/7 and x86 3/3 green (incl. audio_loopback_test driving coop_tone from tests/). Also convert the roadmap Planned list to bullets and drop this (now-done) item. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3,3 +3,7 @@
|
||||
add_executable(coop_tone main.cpp)
|
||||
target_link_libraries(coop_tone PRIVATE ole32)
|
||||
set_target_properties(coop_tone PROPERTIES OUTPUT_NAME "coop_tone")
|
||||
|
||||
# Fixture for audio_loopback_test -> stage it next to the tests, not in the
|
||||
# deployable root. audio_loopback_test spawns coop_tone.exe from its own directory.
|
||||
coop_output_subdir(tests coop_tone)
|
||||
|
||||
Reference in New Issue
Block a user