Initial audio support
This commit is contained in:
@@ -18,6 +18,8 @@ if(NOT EXISTS "${GPUDIRECT_DIR}/lib/x64/dvp.lib")
|
||||
endif()
|
||||
|
||||
set(APP_SOURCES
|
||||
"${APP_DIR}/AudioSupport.cpp"
|
||||
"${APP_DIR}/AudioSupport.h"
|
||||
"${APP_DIR}/ControlServer.cpp"
|
||||
"${APP_DIR}/ControlServer.h"
|
||||
"${APP_DIR}/DeckLinkAPI_i.c"
|
||||
@@ -147,6 +149,21 @@ endif()
|
||||
|
||||
add_test(NAME OscServerTests COMMAND OscServerTests)
|
||||
|
||||
add_executable(AudioSupportTests
|
||||
"${APP_DIR}/AudioSupport.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/tests/AudioSupportTests.cpp"
|
||||
)
|
||||
|
||||
target_include_directories(AudioSupportTests PRIVATE
|
||||
"${APP_DIR}"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
target_compile_options(AudioSupportTests PRIVATE /W3)
|
||||
endif()
|
||||
|
||||
add_test(NAME AudioSupportTests COMMAND AudioSupportTests)
|
||||
|
||||
add_custom_command(TARGET LoopThroughWithOpenGLCompositing POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${GPUDIRECT_DIR}/bin/x64/dvp.dll"
|
||||
|
||||
Reference in New Issue
Block a user