Skip to content

Commit

Permalink
Attempt to reduce binary size and build time.
Browse files Browse the repository at this point in the history
Maybe caused by all the stuff I added to the precompiled header?
  • Loading branch information
kring committed Oct 2, 2023
1 parent c8a49bf commit f0e65ee
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
16 changes: 8 additions & 8 deletions Source/CesiumEditor/Private/PCH.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
#endif
#endif

#include "Blueprint/UserWidget.h"
#include "Components/MeshComponent.h"
#include "Components/PrimitiveComponent.h"
#include "Components/WidgetComponent.h"
#include "Engine/Engine.h"
#include "Engine/World.h"
#include "Physics/PhysicsInterfaceCore.h"
#include "PhysicsEngine/BodyInstance.h"
//#include "Blueprint/UserWidget.h"
//#include "Components/MeshComponent.h"
//#include "Components/PrimitiveComponent.h"
//#include "Components/WidgetComponent.h"
//#include "Engine/Engine.h"
//#include "Engine/World.h"
//#include "Physics/PhysicsInterfaceCore.h"
//#include "PhysicsEngine/BodyInstance.h"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#pragma once

#include "CesiumViewExtension.h"
#include "Components/PrimitiveComponent.h"
#include "Components/SceneComponent.h"
#include "CoreMinimal.h"
Expand All @@ -16,6 +15,7 @@
#include "CesiumBoundingVolumeComponent.generated.h"

class ACesiumGeoreference;
class CesiumViewExtension;

UCLASS()
class UCesiumBoundingVolumePoolComponent : public USceneComponent {
Expand Down
4 changes: 4 additions & 0 deletions Source/CesiumRuntime/Private/CesiumTileExcluderAdapter.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// Copyright 2020-2023 CesiumGS, Inc. and Contributors

#include "CesiumTileExcluderAdapter.h"
#include "Cesium3DTilesSelection/Tile.h"
#include "CesiumGeoreference.h"
#include "VecMath.h"

bool CesiumTileExcluderAdapter::shouldExclude(
Expand Down
5 changes: 5 additions & 0 deletions Source/CesiumRuntime/Private/CesiumTileExcluderAdapter.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
// Copyright 2020-2023 CesiumGS, Inc. and Contributors

#pragma once

#include "CesiumTile.h"
#include "CesiumTileExcluder.h"
#include <Cesium3DTilesSelection/ITileExcluder.h>

class ACesiumGeoreference;

class CesiumTileExcluderAdapter : public Cesium3DTilesSelection::ITileExcluder {
virtual bool shouldExclude(
const Cesium3DTilesSelection::Tile& tile) const noexcept override;
Expand Down
12 changes: 6 additions & 6 deletions Source/CesiumRuntime/Private/PCH.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
#endif
#endif

#include "Components/MeshComponent.h"
#include "Components/PrimitiveComponent.h"
#include "Engine/Engine.h"
#include "Engine/World.h"
#include "Physics/PhysicsInterfaceCore.h"
#include "PhysicsEngine/BodyInstance.h"
//#include "Components/MeshComponent.h"
//#include "Components/PrimitiveComponent.h"
//#include "Engine/Engine.h"
//#include "Engine/World.h"
//#include "Physics/PhysicsInterfaceCore.h"
//#include "PhysicsEngine/BodyInstance.h"

0 comments on commit f0e65ee

Please sign in to comment.