re organisation
This commit is contained in:
@@ -31,7 +31,7 @@ if(NOT EXISTS "${SLANG_LICENSE_FILE}")
|
||||
endif()
|
||||
|
||||
set(APP_SOURCES
|
||||
"${APP_DIR}/DeckLinkAPI_i.c"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkAPI_i.c"
|
||||
"${APP_DIR}/control/ControlServer.cpp"
|
||||
"${APP_DIR}/control/ControlServer.h"
|
||||
"${APP_DIR}/control/OscServer.cpp"
|
||||
@@ -40,50 +40,51 @@ set(APP_SOURCES
|
||||
"${APP_DIR}/control/RuntimeControlBridge.h"
|
||||
"${APP_DIR}/control/RuntimeServices.cpp"
|
||||
"${APP_DIR}/control/RuntimeServices.h"
|
||||
"${APP_DIR}/decklink/DeckLinkDisplayMode.cpp"
|
||||
"${APP_DIR}/decklink/DeckLinkDisplayMode.h"
|
||||
"${APP_DIR}/decklink/DeckLinkFrameTransfer.cpp"
|
||||
"${APP_DIR}/decklink/DeckLinkFrameTransfer.h"
|
||||
"${APP_DIR}/decklink/DeckLinkSession.cpp"
|
||||
"${APP_DIR}/decklink/DeckLinkSession.h"
|
||||
"${APP_DIR}/decklink/DeckLinkVideoIOFormat.cpp"
|
||||
"${APP_DIR}/decklink/DeckLinkVideoIOFormat.h"
|
||||
"${APP_DIR}/gl/GLExtensions.cpp"
|
||||
"${APP_DIR}/gl/GLExtensions.h"
|
||||
"${APP_DIR}/gl/GlobalParamsBuffer.cpp"
|
||||
"${APP_DIR}/gl/GlobalParamsBuffer.h"
|
||||
"${APP_DIR}/gl/GlRenderConstants.h"
|
||||
"${APP_DIR}/gl/GlScopedObjects.h"
|
||||
"${APP_DIR}/gl/GlShaderSources.cpp"
|
||||
"${APP_DIR}/gl/GlShaderSources.h"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkAPI_h.h"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkDisplayMode.cpp"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkDisplayMode.h"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkFrameTransfer.cpp"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkFrameTransfer.h"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkSession.cpp"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkSession.h"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkVideoIOFormat.cpp"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkVideoIOFormat.h"
|
||||
"${APP_DIR}/gl/renderer/GLExtensions.cpp"
|
||||
"${APP_DIR}/gl/renderer/GLExtensions.h"
|
||||
"${APP_DIR}/gl/shader/GlobalParamsBuffer.cpp"
|
||||
"${APP_DIR}/gl/shader/GlobalParamsBuffer.h"
|
||||
"${APP_DIR}/gl/renderer/GlRenderConstants.h"
|
||||
"${APP_DIR}/gl/renderer/GlScopedObjects.h"
|
||||
"${APP_DIR}/gl/shader/GlShaderSources.cpp"
|
||||
"${APP_DIR}/gl/shader/GlShaderSources.h"
|
||||
"${APP_DIR}/gl/OpenGLComposite.cpp"
|
||||
"${APP_DIR}/gl/OpenGLComposite.h"
|
||||
"${APP_DIR}/gl/OpenGLCompositeRuntimeControls.cpp"
|
||||
"${APP_DIR}/gl/OpenGLRenderPass.cpp"
|
||||
"${APP_DIR}/gl/OpenGLRenderPass.h"
|
||||
"${APP_DIR}/gl/OpenGLRenderPipeline.cpp"
|
||||
"${APP_DIR}/gl/OpenGLRenderPipeline.h"
|
||||
"${APP_DIR}/gl/OpenGLRenderer.cpp"
|
||||
"${APP_DIR}/gl/OpenGLRenderer.h"
|
||||
"${APP_DIR}/gl/OpenGLVideoIOBridge.cpp"
|
||||
"${APP_DIR}/gl/OpenGLVideoIOBridge.h"
|
||||
"${APP_DIR}/gl/OpenGLShaderPrograms.cpp"
|
||||
"${APP_DIR}/gl/OpenGLShaderPrograms.h"
|
||||
"${APP_DIR}/gl/PngScreenshotWriter.cpp"
|
||||
"${APP_DIR}/gl/PngScreenshotWriter.h"
|
||||
"${APP_DIR}/gl/ShaderProgramCompiler.cpp"
|
||||
"${APP_DIR}/gl/ShaderProgramCompiler.h"
|
||||
"${APP_DIR}/gl/ShaderBuildQueue.cpp"
|
||||
"${APP_DIR}/gl/ShaderBuildQueue.h"
|
||||
"${APP_DIR}/gl/ShaderTextureBindings.cpp"
|
||||
"${APP_DIR}/gl/ShaderTextureBindings.h"
|
||||
"${APP_DIR}/gl/Std140Buffer.h"
|
||||
"${APP_DIR}/gl/TextRasterizer.cpp"
|
||||
"${APP_DIR}/gl/TextRasterizer.h"
|
||||
"${APP_DIR}/gl/TextureAssetLoader.cpp"
|
||||
"${APP_DIR}/gl/TextureAssetLoader.h"
|
||||
"${APP_DIR}/gl/TemporalHistoryBuffers.cpp"
|
||||
"${APP_DIR}/gl/TemporalHistoryBuffers.h"
|
||||
"${APP_DIR}/gl/pipeline/OpenGLRenderPass.cpp"
|
||||
"${APP_DIR}/gl/pipeline/OpenGLRenderPass.h"
|
||||
"${APP_DIR}/gl/pipeline/OpenGLRenderPipeline.cpp"
|
||||
"${APP_DIR}/gl/pipeline/OpenGLRenderPipeline.h"
|
||||
"${APP_DIR}/gl/renderer/OpenGLRenderer.cpp"
|
||||
"${APP_DIR}/gl/renderer/OpenGLRenderer.h"
|
||||
"${APP_DIR}/gl/pipeline/OpenGLVideoIOBridge.cpp"
|
||||
"${APP_DIR}/gl/pipeline/OpenGLVideoIOBridge.h"
|
||||
"${APP_DIR}/gl/shader/OpenGLShaderPrograms.cpp"
|
||||
"${APP_DIR}/gl/shader/OpenGLShaderPrograms.h"
|
||||
"${APP_DIR}/gl/pipeline/PngScreenshotWriter.cpp"
|
||||
"${APP_DIR}/gl/pipeline/PngScreenshotWriter.h"
|
||||
"${APP_DIR}/gl/shader/ShaderProgramCompiler.cpp"
|
||||
"${APP_DIR}/gl/shader/ShaderProgramCompiler.h"
|
||||
"${APP_DIR}/gl/shader/ShaderBuildQueue.cpp"
|
||||
"${APP_DIR}/gl/shader/ShaderBuildQueue.h"
|
||||
"${APP_DIR}/gl/shader/ShaderTextureBindings.cpp"
|
||||
"${APP_DIR}/gl/shader/ShaderTextureBindings.h"
|
||||
"${APP_DIR}/gl/shader/Std140Buffer.h"
|
||||
"${APP_DIR}/gl/shader/TextRasterizer.cpp"
|
||||
"${APP_DIR}/gl/shader/TextRasterizer.h"
|
||||
"${APP_DIR}/gl/shader/TextureAssetLoader.cpp"
|
||||
"${APP_DIR}/gl/shader/TextureAssetLoader.h"
|
||||
"${APP_DIR}/gl/pipeline/TemporalHistoryBuffers.cpp"
|
||||
"${APP_DIR}/gl/pipeline/TemporalHistoryBuffers.h"
|
||||
"${APP_DIR}/LoopThroughWithOpenGLCompositing.cpp"
|
||||
"${APP_DIR}/LoopThroughWithOpenGLCompositing.h"
|
||||
"${APP_DIR}/LoopThroughWithOpenGLCompositing.rc"
|
||||
@@ -118,12 +119,15 @@ add_executable(LoopThroughWithOpenGLCompositing WIN32 ${APP_SOURCES})
|
||||
target_include_directories(LoopThroughWithOpenGLCompositing PRIVATE
|
||||
"${APP_DIR}"
|
||||
"${APP_DIR}/control"
|
||||
"${APP_DIR}/decklink"
|
||||
"${APP_DIR}/gl"
|
||||
"${APP_DIR}/gl/pipeline"
|
||||
"${APP_DIR}/gl/renderer"
|
||||
"${APP_DIR}/gl/shader"
|
||||
"${APP_DIR}/platform"
|
||||
"${APP_DIR}/runtime"
|
||||
"${APP_DIR}/shader"
|
||||
"${APP_DIR}/videoio"
|
||||
"${APP_DIR}/videoio/decklink"
|
||||
)
|
||||
|
||||
target_link_libraries(LoopThroughWithOpenGLCompositing PRIVATE
|
||||
@@ -204,6 +208,7 @@ add_executable(Std140BufferTests
|
||||
target_include_directories(Std140BufferTests PRIVATE
|
||||
"${APP_DIR}"
|
||||
"${APP_DIR}/gl"
|
||||
"${APP_DIR}/gl/shader"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
@@ -252,15 +257,15 @@ endif()
|
||||
add_test(NAME OscServerTests COMMAND OscServerTests)
|
||||
|
||||
add_executable(VideoIOFormatTests
|
||||
"${APP_DIR}/decklink/DeckLinkVideoIOFormat.cpp"
|
||||
"${APP_DIR}/videoio/decklink/DeckLinkVideoIOFormat.cpp"
|
||||
"${APP_DIR}/videoio/VideoIOFormat.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/tests/VideoIOFormatTests.cpp"
|
||||
)
|
||||
|
||||
target_include_directories(VideoIOFormatTests PRIVATE
|
||||
"${APP_DIR}"
|
||||
"${APP_DIR}/decklink"
|
||||
"${APP_DIR}/videoio"
|
||||
"${APP_DIR}/videoio/decklink"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
@@ -276,8 +281,8 @@ add_executable(VideoPlayoutSchedulerTests
|
||||
|
||||
target_include_directories(VideoPlayoutSchedulerTests PRIVATE
|
||||
"${APP_DIR}"
|
||||
"${APP_DIR}/decklink"
|
||||
"${APP_DIR}/videoio"
|
||||
"${APP_DIR}/videoio/decklink"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
@@ -293,8 +298,8 @@ add_executable(VideoIODeviceFakeTests
|
||||
|
||||
target_include_directories(VideoIODeviceFakeTests PRIVATE
|
||||
"${APP_DIR}"
|
||||
"${APP_DIR}/decklink"
|
||||
"${APP_DIR}/videoio"
|
||||
"${APP_DIR}/videoio/decklink"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
|
||||
Reference in New Issue
Block a user