# CoopMockGame -- a tiny test "game" with an animated, frame-numbered render (DX10/DX11/DX12)
# and a configurable WASAPI tone, used by the capture/audio/hook stress tests. Not shipped.
add_executable(coop_mock_game
	main.cpp
	render_backend.cpp
	render_dx11.cpp
	render_dx12.cpp
	render_dx10.cpp)

# Reuses the shared ToneSource (also used by coop_tone + the audio hook self-test).
target_include_directories(coop_mock_game PRIVATE ${CMAKE_SOURCE_DIR}/tools/audio_tone)

target_link_libraries(coop_mock_game PRIVATE d3d11 d3d12 d3d10 dxgi ole32)
set_target_properties(coop_mock_game PROPERTIES OUTPUT_NAME "coop_mock_game")

# Test fixture -> stage next to the tests (alongside coop_tone), not in the deployable root.
coop_output_subdir(tests coop_mock_game)
