Add shader validation automation hook

This commit is contained in:
2026-06-01 07:55:39 +02:00
parent 3d80791245
commit f9e4bcaeea
6 changed files with 132 additions and 8 deletions

View File

@@ -61,6 +61,12 @@ add_custom_target(panopainter_modernization_status
COMMAND "${CMAKE_COMMAND}" -E echo "Debt log: docs/modernization/debt.md"
VERBATIM)
add_custom_target(panopainter_validate_shaders
COMMAND "${CMAKE_COMMAND}"
"-DPP_SHADER_DIR=${CMAKE_CURRENT_SOURCE_DIR}/data/shaders"
-P "${CMAKE_CURRENT_SOURCE_DIR}/cmake/ValidatePanoPainterShaders.cmake"
VERBATIM)
add_library(pp_foundation STATIC
src/foundation/binary_stream.cpp
src/foundation/parse.cpp