Cmake fixes
This commit is contained in:
@@ -62,6 +62,46 @@ function(add_video_shader_test name)
|
||||
add_test(NAME ${name} COMMAND ${name})
|
||||
endfunction()
|
||||
|
||||
set(RUNTIME_JSON_SOURCES
|
||||
"${SRC_DIR}/runtime/state/RuntimeJson.cpp"
|
||||
)
|
||||
|
||||
set(RUNTIME_PARAMETER_SOURCES
|
||||
${RUNTIME_JSON_SOURCES}
|
||||
"${SRC_DIR}/runtime/state/RuntimeParameterUtils.cpp"
|
||||
)
|
||||
|
||||
set(RUNTIME_STATE_SOURCES
|
||||
${RUNTIME_JSON_SOURCES}
|
||||
"${SRC_DIR}/runtime/state/RuntimeStatePersistence.cpp"
|
||||
)
|
||||
|
||||
set(RUNTIME_LAYER_SOURCES
|
||||
"${SRC_DIR}/runtime/layers/RuntimeLayerModel.cpp"
|
||||
"${SRC_DIR}/runtime/layers/RuntimeLayerReload.cpp"
|
||||
"${SRC_DIR}/runtime/layers/RuntimeLayerSnapshot.cpp"
|
||||
"${SRC_DIR}/runtime/layers/RuntimeLayerStateRestore.cpp"
|
||||
)
|
||||
|
||||
set(RUNTIME_TEXT_SOURCES
|
||||
"${SRC_DIR}/runtime/text/FontAtlasBuilder.cpp"
|
||||
"${SRC_DIR}/runtime/text/FontAtlasImageLoader.cpp"
|
||||
"${SRC_DIR}/runtime/text/FontAtlasMetadata.cpp"
|
||||
"${SRC_DIR}/runtime/text/FontAtlasProcess.cpp"
|
||||
"${SRC_DIR}/runtime/text/RuntimeTextTextureComposer.cpp"
|
||||
)
|
||||
|
||||
set(RUNTIME_CATALOG_SOURCES
|
||||
"${SRC_DIR}/runtime/catalog/SupportedShaderCatalog.cpp"
|
||||
)
|
||||
|
||||
set(SHADER_MANIFEST_SOURCES
|
||||
"${SRC_DIR}/shader/ShaderManifestAssets.cpp"
|
||||
"${SRC_DIR}/shader/ShaderManifestParameters.cpp"
|
||||
"${SRC_DIR}/shader/ShaderManifestParser.cpp"
|
||||
"${SRC_DIR}/shader/ShaderPackageRegistry.cpp"
|
||||
)
|
||||
|
||||
set(SLANG_RUNTIME_FILES
|
||||
"${SLANG_ROOT}/bin/slangc.exe"
|
||||
"${SLANG_ROOT}/bin/slang-compiler.dll"
|
||||
@@ -83,32 +123,11 @@ set(RENDER_CADENCE_APP_REQUIRED_FILES
|
||||
"${SRC_DIR}/RenderCadenceCompositor.cpp"
|
||||
"${SRC_DIR}/video/DeckLinkAPI_i.c"
|
||||
"${SRC_DIR}/video/DeckLinkAPI_h.h"
|
||||
"${SRC_DIR}/video/DeckLinkDisplayMode.cpp"
|
||||
"${SRC_DIR}/video/DeckLinkDisplayMode.h"
|
||||
"${SRC_DIR}/video/DeckLinkSession.cpp"
|
||||
"${SRC_DIR}/video/DeckLinkSession.h"
|
||||
"${SRC_DIR}/video/DeckLinkVideoIOFormat.cpp"
|
||||
"${SRC_DIR}/video/DeckLinkVideoIOFormat.h"
|
||||
"${SRC_DIR}/video/VideoIOFormat.cpp"
|
||||
"${SRC_DIR}/video/VideoIOFormat.h"
|
||||
"${SRC_DIR}/video/VideoIOTypes.h"
|
||||
"${SRC_DIR}/render/GLExtensions.cpp"
|
||||
"${SRC_DIR}/render/GLExtensions.h"
|
||||
"${SRC_DIR}/render/Std140Buffer.h"
|
||||
"${SRC_DIR}/runtime/state/RuntimeJson.cpp"
|
||||
"${SRC_DIR}/runtime/state/RuntimeJson.h"
|
||||
"${SRC_DIR}/runtime/state/RuntimeParameterUtils.cpp"
|
||||
"${SRC_DIR}/runtime/state/RuntimeParameterUtils.h"
|
||||
"${SRC_DIR}/shader/ShaderCompiler.cpp"
|
||||
"${SRC_DIR}/shader/ShaderCompiler.h"
|
||||
"${SRC_DIR}/shader/ShaderPackageRegistry.cpp"
|
||||
"${SRC_DIR}/shader/ShaderPackageRegistry.h"
|
||||
"${SRC_DIR}/shader/ShaderTypes.h"
|
||||
)
|
||||
|
||||
video_shader_files_exist(RENDER_CADENCE_APP_MISSING_FILES ${RENDER_CADENCE_APP_REQUIRED_FILES})
|
||||
if(RENDER_CADENCE_APP_MISSING_FILES)
|
||||
message(STATUS "RenderCadenceCompositor target skipped; source reorganization has not provided these legacy shared files:")
|
||||
message(STATUS "RenderCadenceCompositor target skipped; required app entry or external DeckLink SDK shim files are missing:")
|
||||
foreach(missing_file IN LISTS RENDER_CADENCE_APP_MISSING_FILES)
|
||||
message(STATUS " ${missing_file}")
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user