adding audio_host project for hooking noita FMOD
This commit is contained in:
1 parent
00a9c1c26c
commit
06bb712a46
2 files changed
+223
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# The 32-bit audio host (the game's FMOD DLLs are x86). Built on its own:
|
||||
# cmake -S tools/audio_host -B build_audio32 -A Win32 && cmake --build build_audio32 --config Release
|
||||
# then audio_host.exe goes next to noita_gpu.exe (and into demo/).
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(audio_host CXX)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
add_executable(audio_host audio_host.cpp)
|
||||
target_include_directories(audio_host PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../src)
|
||||
if(MSVC)
|
||||
target_compile_options(audio_host PRIVATE /W4)
|
||||
target_compile_definitions(audio_host PRIVATE _CRT_SECURE_NO_WARNINGS)
|
||||
set_property(TARGET audio_host PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
Reference in new issue
Block a user