This reduces non-unity build time by ~2% and build size by ~0.5%.

This PR is a 'clean' version of #6199 updated to latest development

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
nemerle
2021-12-12 23:48:47 +01:00
parent 4670003aaf
commit 5ff65be314
87 changed files with 882 additions and 604 deletions
+10 -8
View File
@@ -5,18 +5,20 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/Math/MathUtils.h>
#include <System/PhysXSystem.h>
#include <PxPhysicsAPI.h>
#include <PhysX/Debug/PhysXDebugConfiguration.h>
#include <Scene/PhysXScene.h>
#include <System/PhysXAllocator.h>
#include <System/PhysXCpuDispatcher.h>
#include <AzCore/Memory/SystemAllocator.h>
#include <AzCore/Component/ComponentApplicationLifecycle.h>
#include <AzCore/Asset/AssetManager.h>
#include <Scene/PhysXScene.h>
#include <System/PhysXSystem.h>
#include <System/PhysXAllocator.h>
#include <System/PhysXCpuDispatcher.h>
#include <PhysX/Debug/PhysXDebugConfiguration.h>
#include <PxPhysicsAPI.h>
#include <AzCore/Math/MathUtils.h>
#include <AzCore/Debug/Profiler.h>
#include <AzCore/Memory/SystemAllocator.h>
// only enable physx timestep warning when not running debug or in Release
#if !defined(DEBUG) && !defined(RELEASE)