Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorton06 committed Jun 25, 2024
1 parent 196e920 commit b6e2f24
Show file tree
Hide file tree
Showing 195 changed files with 52 additions and 389 deletions.
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/AI/AStar.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "AStar.h"
#include "PathEdge.h"

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/AI/PathEdge.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "PathEdge.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/AI/PathNode.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "PathNode.h"
#include "PathEdge.h"

Expand Down
4 changes: 2 additions & 2 deletions Lumos/Source/Lumos/Audio/AudioManager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef LUMOS_PLATFORM_MACOS
//#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
//#endif
#include "AudioManager.h"
#include "Core/Application.h"
#include "Scene/Scene.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Audio/OggLoader.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "OggLoader.h"
#include "Core/OS/FileSystem.h"
#include "Sound.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Audio/Sound.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Sound.h"
#include "Core/OS/FileSystem.h"

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Audio/SoundNode.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "SoundNode.h"
#include "Maths/MathsUtilities.h"

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Audio/WavLoader.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "WavLoader.h"
#include <fstream>

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/Application.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Application.h"

#include "Scene/Scene.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/Asset/AssetManager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "AssetManager.h"
#include "AssetRegistry.h"
#include "Core/Application.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/Asset/AssetRegistry.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "AssetRegistry.h"
#include "Asset.h"

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/CommandLine.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "CommandLine.h"
#include "Maths/MathsUtilities.h"
#include "Core/Thread.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/CoreSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "CoreSystem.h"
#include "OS/FileSystem.h"
#include "JobSystem.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/DataStructures/Map.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Map.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/Engine.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Engine.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/JobSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "JobSystem.h"
#include "Maths/MathsUtilities.h"
#include "Core/DataStructures/TDArray.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/LMLog.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "LMLog.h"

#include <spdlog/sinks/rotating_file_sink.h>
Expand Down
4 changes: 0 additions & 4 deletions Lumos/Source/Lumos/Core/LMLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
#endif
#endif

#ifndef FMT_HEADER_ONLY
#define FMT_HEADER_ONLY
#endif

#include <spdlog/spdlog.h>
#include <spdlog/fmt/ostr.h>

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/Allocators/BinAllocator.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "BinAllocator.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/Allocators/DefaultAllocator.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "DefaultAllocator.h"

#include "Core/OS/MemoryManager.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/Allocators/StbAllocator.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "StbAllocator.h"

#define STB_LEAKCHECK_IMPLEMENTATION
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/FileSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "FileSystem.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/Input.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Input.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/Memory.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Memory.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/MemoryManager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "MemoryManager.h"
#include "Utilities/StringUtilities.h"

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/OS.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "OS.h"

#if defined(LUMOS_PLATFORM_WINDOWS)
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/OS/Window.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Window.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/Reference.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Reference.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/String.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "String.h"
#include <cstdarg>

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/Thread.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Thread.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Core/UUID.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "UUID.h"
#include "Maths/Random.h"

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Embedded/EmbedAsset.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "EmbedAsset.h"
#include "Graphics/RHI/Texture.h"
#include "Graphics/RHI/Shader.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/AnimatedSprite.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "AnimatedSprite.h"

namespace Lumos::Graphics
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Animation/Animation.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Animation.h"
#include "Skeleton.h"

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Animation/AnimationController.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Skeleton.h"
#include "AnimationController.h"
#include "SamplingContext.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Animation/SamplingContext.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "SamplingContext.h"

namespace Lumos
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Animation/Skeleton.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Skeleton.h"
#include <glm/gtc/type_ptr.hpp>

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Camera/Camera.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Camera.h"
#include <glm/gtc/matrix_transform.hpp>

Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Camera/Camera2D.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Camera2D.h"
#include "Core/OS/Input.h"
#include "Maths/MathsUtilities.h"
Expand Down
4 changes: 0 additions & 4 deletions Lumos/Source/Lumos/Graphics/Camera/EditorCamera.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "EditorCamera.h"
#include "Graphics/Camera/Camera.h"
#include "Core/Application.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Camera/FPSCamera.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "FPSCamera.h"
#include "Core/Application.h"
#include "Core/OS/Input.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Camera/ThirdPersonCamera.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "ThirdPersonCamera.h"
#include "Core/OS/Input.h"
#include "Camera.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Environment.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Environment.h"
#include "Core/Application.h"
#include "Renderers/SceneRenderer.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Font.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Font.h"
#include "MSDFData.h"
#include "Core/OS/FileSystem.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Light.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Light.h"

#include "ImGui/ImGuiUtilities.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Material.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Material.h"
#include "Graphics/RHI/Shader.h"
#include "Graphics/RHI/Texture.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Mesh.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Mesh.h"
#include "RHI/Renderer.h"
#include "RHI/VertexBuffer.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/MeshFactory.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "MeshFactory.h"
#include "Mesh.h"
#include "Material.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/Model.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Model.h"
#include "Mesh.h"
#include "Material.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/ModelLoader/FBXLoader.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Graphics/Model.h"
#include "Graphics/Mesh.h"
#include "Graphics/Material.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/ModelLoader/GLTFLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
#undef __OPTIMIZE__
#endif

#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Graphics/Model.h"
#include "Graphics/Mesh.h"
#include "Graphics/Material.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/ModelLoader/OBJLoader.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "Graphics/Model.h"
#include "Graphics/Mesh.h"
#include "Graphics/Material.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/ParticleManager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "ParticleManager.h"
#include "Maths/Random.h"
#include "Maths/MathsUtilities.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/RHI/BufferLayout.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "BufferLayout.h"

#include "GraphicsContext.h"
Expand Down
2 changes: 0 additions & 2 deletions Lumos/Source/Lumos/Graphics/RHI/CommandBuffer.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef LUMOS_PLATFORM_MACOS
#include "Precompiled.h"
#endif
#include "CommandBuffer.h"

namespace Lumos
Expand Down
Loading

0 comments on commit b6e2f24

Please sign in to comment.