Phase 7.5 step 2
This commit is contained in:
@@ -168,6 +168,8 @@ set(APP_SOURCES
|
||||
"${APP_DIR}/videoio/VideoBackendLifecycle.cpp"
|
||||
"${APP_DIR}/videoio/VideoBackendLifecycle.h"
|
||||
"${APP_DIR}/videoio/VideoIOTypes.h"
|
||||
"${APP_DIR}/videoio/OutputProductionController.cpp"
|
||||
"${APP_DIR}/videoio/OutputProductionController.h"
|
||||
"${APP_DIR}/videoio/RenderOutputQueue.cpp"
|
||||
"${APP_DIR}/videoio/RenderOutputQueue.h"
|
||||
"${APP_DIR}/videoio/VideoPlayoutPolicy.h"
|
||||
@@ -543,6 +545,22 @@ endif()
|
||||
|
||||
add_test(NAME VideoPlayoutSchedulerTests COMMAND VideoPlayoutSchedulerTests)
|
||||
|
||||
add_executable(OutputProductionControllerTests
|
||||
"${APP_DIR}/videoio/OutputProductionController.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/tests/OutputProductionControllerTests.cpp"
|
||||
)
|
||||
|
||||
target_include_directories(OutputProductionControllerTests PRIVATE
|
||||
"${APP_DIR}"
|
||||
"${APP_DIR}/videoio"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
target_compile_options(OutputProductionControllerTests PRIVATE /W3)
|
||||
endif()
|
||||
|
||||
add_test(NAME OutputProductionControllerTests COMMAND OutputProductionControllerTests)
|
||||
|
||||
add_executable(RenderOutputQueueTests
|
||||
"${APP_DIR}/videoio/RenderOutputQueue.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/tests/RenderOutputQueueTests.cpp"
|
||||
|
||||
Reference in New Issue
Block a user