Cleanup: add missing CMake headers, update "check_cmake" config

This commit is contained in:
Campbell Barton
2024-09-25 19:24:21 +10:00
parent 840c65f442
commit 0e08e8bf2d
6 changed files with 26 additions and 14 deletions

View File

@@ -15,7 +15,6 @@ IGNORE_SOURCE = (
# Specific source files.
"extern/audaspace/",
"extern/quadriflow/3rd/",
"extern/sdlew/include/",
"extern/mantaflow/",
"extern/Eigen3/",
@@ -100,22 +99,31 @@ IGNORE_SOURCE = (
)
# Ignore cmake file, path pairs,
# NOTE: keep commented block to show the intended format.
"""
# NOTE: keep commented block to show the intended format (even when unused).
IGNORE_SOURCE_MISSING: Tuple[Tuple[str, Tuple[str, ...]], ...] = (
( # Use for `WITH_NANOVDB`.
"intern/cycles/kernel/CMakeLists.txt", (
"nanovdb/util/CSampleFromVoxels.h",
"nanovdb/util/SampleFromVoxels.h",
"nanovdb/NanoVDB.h",
"nanovdb/CNanoVDB.h",
"hiprt/impl/Aabb.h",
"hiprt/impl/BvhNode.h",
"hiprt/impl/Geometry.h",
"hiprt/impl/hiprt_device_impl.h",
"hiprt/impl/hiprt_kernels_bitcode.h",
"hiprt/impl/Instance.h",
"hiprt/impl/Math.h",
"hiprt/impl/QrDecomposition.h",
"hiprt/impl/Quaternion.h",
"hiprt/impl/Scene.h",
"hiprt/impl/Transform.h",
"hiprt/impl/Triangle.h",
"hiprt/hiprt_common.h",
"hiprt/hiprt_device.h",
"hiprt/hiprt_types.h",
"hiprt/hiprt_vec.h",
),
),
)
"""
IGNORE_SOURCE_MISSING: Tuple[Tuple[str, Tuple[str, ...]], ...] = (
)
)
IGNORE_CMAKE = (
"extern/audaspace/CMakeLists.txt",