2023-08-15 14:20:26 +00:00
|
|
|
# SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-06-14 13:06:58 +00:00
|
|
|
#
|
2023-02-21 15:39:58 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2023-06-14 13:06:58 +00:00
|
|
|
|
2023-02-21 15:39:58 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
IGNORE_SOURCE = (
|
2023-05-17 03:07:43 +00:00
|
|
|
"/scripts/",
|
2023-02-21 15:39:58 +00:00
|
|
|
"/test/",
|
|
|
|
"/tests/gtests/",
|
|
|
|
|
2023-05-17 03:07:43 +00:00
|
|
|
# Specific source files.
|
2023-02-21 15:39:58 +00:00
|
|
|
"extern/audaspace/",
|
2023-05-17 03:07:43 +00:00
|
|
|
"extern/quadriflow/3rd/",
|
|
|
|
"extern/sdlew/include/",
|
|
|
|
"extern/mantaflow/",
|
|
|
|
"extern/Eigen3/",
|
2023-02-21 15:39:58 +00:00
|
|
|
|
|
|
|
# Use for `WIN32` only.
|
|
|
|
"source/creator/blender_launcher_win32.c",
|
|
|
|
|
2023-05-17 03:07:43 +00:00
|
|
|
# Pre-computed headers.
|
|
|
|
"source/blender/compositor/COM_precomp.h",
|
|
|
|
"source/blender/freestyle/FRS_precomp.h",
|
|
|
|
|
|
|
|
# Specific source files.
|
2023-02-21 15:39:58 +00:00
|
|
|
"extern/bullet2/src/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.cpp",
|
|
|
|
"extern/bullet2/src/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.cpp",
|
|
|
|
"extern/bullet2/src/BulletCollision/CollisionDispatch/btInternalEdgeUtility.cpp",
|
|
|
|
"extern/bullet2/src/BulletCollision/CollisionShapes/btBox2dShape.cpp",
|
|
|
|
"extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.cpp",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Character/btKinematicCharacterController.cpp",
|
|
|
|
"extern/bullet2/src/BulletDynamics/ConstraintSolver/btHinge2Constraint.cpp",
|
|
|
|
"extern/bullet2/src/BulletDynamics/ConstraintSolver/btUniversalConstraint.cpp",
|
|
|
|
|
2023-05-17 03:07:43 +00:00
|
|
|
# Specific source files.
|
|
|
|
"extern/bullet2/src/BulletCollision/BroadphaseCollision/btAxisSweep3Internal.h",
|
2023-02-21 15:39:58 +00:00
|
|
|
"extern/bullet2/src/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.h",
|
2023-05-17 03:07:43 +00:00
|
|
|
"extern/bullet2/src/BulletCollision/CollisionDispatch/btCollisionDispatcherMt.h",
|
2023-02-21 15:39:58 +00:00
|
|
|
"extern/bullet2/src/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.h",
|
|
|
|
"extern/bullet2/src/BulletCollision/CollisionDispatch/btInternalEdgeUtility.h",
|
|
|
|
"extern/bullet2/src/BulletCollision/CollisionShapes/btBox2dShape.h",
|
|
|
|
"extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.h",
|
2023-05-17 03:07:43 +00:00
|
|
|
"extern/bullet2/src/BulletCollision/Gimpact/btContactProcessingStructs.h",
|
|
|
|
"extern/bullet2/src/BulletCollision/Gimpact/btGImpactBvhStructs.h",
|
|
|
|
"extern/bullet2/src/BulletCollision/Gimpact/btGImpactQuantizedBvhStructs.h",
|
|
|
|
"extern/bullet2/src/BulletCollision/Gimpact/gim_pair.h",
|
2023-02-21 15:39:58 +00:00
|
|
|
"extern/bullet2/src/BulletDynamics/Character/btKinematicCharacterController.h",
|
2023-05-17 03:07:43 +00:00
|
|
|
"extern/bullet2/src/BulletDynamics/ConstraintSolver/btBatchedConstraints.h",
|
2023-02-21 15:39:58 +00:00
|
|
|
"extern/bullet2/src/BulletDynamics/ConstraintSolver/btHinge2Constraint.h",
|
2023-05-17 03:07:43 +00:00
|
|
|
"extern/bullet2/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolverMt.h",
|
2023-02-21 15:39:58 +00:00
|
|
|
"extern/bullet2/src/BulletDynamics/ConstraintSolver/btUniversalConstraint.h",
|
2023-05-17 03:07:43 +00:00
|
|
|
"extern/bullet2/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Dynamics/btSimulationIslandManagerMt.h",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Featherstone/btMultiBodyFixedConstraint.h",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Featherstone/btMultiBodyGearConstraint.h",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Featherstone/btMultiBodyInplaceSolverIslandCallback.h",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Featherstone/btMultiBodyMLCPConstraintSolver.h",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Featherstone/btMultiBodySliderConstraint.h",
|
|
|
|
"extern/bullet2/src/BulletDynamics/Featherstone/btMultiBodySphericalJointMotor.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/DeformableBodyInplaceSolverIslandCallback.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btCGProjection.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btConjugateGradient.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btConjugateResidual.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableBackwardEulerObjective.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableBodySolver.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableContactConstraint.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableContactProjection.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableCorotatedForce.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableGravityForce.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableLagrangianForce.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableLinearElasticityForce.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableMassSpringForce.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableMousePickingForce.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableMultiBodyConstraintSolver.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableMultiBodyDynamicsWorld.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btDeformableNeoHookeanForce.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btKrylovSolver.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btPreconditioner.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/btSoftMultiBodyDynamicsWorld.h",
|
|
|
|
"extern/bullet2/src/BulletSoftBody/poly34.h",
|
|
|
|
"extern/bullet2/src/LinearMath/TaskScheduler/btThreadSupportInterface.h",
|
|
|
|
"extern/bullet2/src/LinearMath/btImplicitQRSVD.h",
|
|
|
|
"extern/bullet2/src/LinearMath/btModifiedGramSchmidt.h",
|
|
|
|
"extern/bullet2/src/LinearMath/btReducedVector.h",
|
|
|
|
"extern/bullet2/src/LinearMath/btThreads.h",
|
|
|
|
|
|
|
|
"doc/doxygen/doxygen.extern.h",
|
|
|
|
"doc/doxygen/doxygen.intern.h",
|
|
|
|
"doc/doxygen/doxygen.main.h",
|
|
|
|
"doc/doxygen/doxygen.source.h",
|
2023-02-21 15:39:58 +00:00
|
|
|
|
|
|
|
"build_files/build_environment/patches/config_gmpxx.h",
|
2023-05-17 03:07:43 +00:00
|
|
|
|
|
|
|
# These could be included but are not part of Blender's core.
|
|
|
|
"intern/libmv/libmv/multiview/test_data_sets.h",
|
2023-02-21 15:39:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Ignore cmake file, path pairs.
|
|
|
|
IGNORE_SOURCE_MISSING = (
|
|
|
|
( # Use for `WITH_NANOVDB`.
|
|
|
|
"intern/cycles/kernel/CMakeLists.txt", (
|
|
|
|
"nanovdb/util/CSampleFromVoxels.h",
|
|
|
|
"nanovdb/util/SampleFromVoxels.h",
|
|
|
|
"nanovdb/NanoVDB.h",
|
|
|
|
"nanovdb/CNanoVDB.h",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
|
|
|
|
IGNORE_CMAKE = (
|
|
|
|
"extern/audaspace/CMakeLists.txt",
|
|
|
|
)
|
|
|
|
|
|
|
|
UTF8_CHECK = True
|
|
|
|
|
2023-03-01 10:51:51 +00:00
|
|
|
SOURCE_DIR = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")))
|
2023-02-21 15:39:58 +00:00
|
|
|
|
|
|
|
# doesn't have to exist, just use as reference
|
|
|
|
BUILD_DIR = os.path.normpath(os.path.abspath(os.path.normpath(os.path.join(SOURCE_DIR, "..", "build"))))
|