Resolve include ambiguity with tools.
This commit is contained in:
parent
38b697f202
commit
299665a0fd
|
|
@ -19,7 +19,6 @@ add_subdirectory("src")
|
|||
|
||||
target_compile_features(aster_core PUBLIC cxx_std_23)
|
||||
|
||||
target_include_directories(aster_core PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include/aster")
|
||||
target_include_directories(aster_core PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
|
||||
target_link_libraries(aster_core PUBLIC glm::glm-header-only)
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/buffer.h"
|
||||
#include "aster/core/buffer.h"
|
||||
|
||||
#include "core/device.h"
|
||||
#include "aster/core/device.h"
|
||||
|
||||
Buffer::Buffer(Device const *device, usize const size, vk::BufferUsageFlags const bufferUsage,
|
||||
VmaAllocationCreateFlags const allocationFlags, VmaMemoryUsage const memoryUsage, cstr const name)
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/device.h"
|
||||
#include "aster/core/device.h"
|
||||
|
||||
#include "core/instance.h"
|
||||
#include "core/physical_device.h"
|
||||
#include "core/queue_allocation.h"
|
||||
#include "aster/core/instance.h"
|
||||
#include "aster/core/physical_device.h"
|
||||
#include "aster/core/queue_allocation.h"
|
||||
|
||||
#include <EASTL/array.h>
|
||||
#include <EASTL/fixed_vector.h>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/global.h"
|
||||
#include "aster/core/global.h"
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/image.h"
|
||||
#include "aster/core/image.h"
|
||||
|
||||
#include "core/device.h"
|
||||
#include "aster/core/device.h"
|
||||
|
||||
Image &
|
||||
Image::operator=(Image &&other) noexcept
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/instance.h"
|
||||
#include "aster/core/instance.h"
|
||||
|
||||
#include "core/window.h"
|
||||
#include "aster/core/window.h"
|
||||
|
||||
#include <EASTL/array.h>
|
||||
#include <EASTL/fixed_vector.h>
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/physical_device.h"
|
||||
#include "aster/core/physical_device.h"
|
||||
|
||||
#include "core/instance.h"
|
||||
#include "core/surface.h"
|
||||
#include "aster/core/instance.h"
|
||||
#include "aster/core/surface.h"
|
||||
|
||||
[[nodiscard]] vk::SurfaceCapabilitiesKHR
|
||||
GetSurfaceCapabilities(vk::PhysicalDevice const physicalDevice, vk::SurfaceKHR const surface)
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/pipeline.h"
|
||||
#include "aster/core/pipeline.h"
|
||||
|
||||
#include "core/device.h"
|
||||
#include "aster/core/device.h"
|
||||
|
||||
Pipeline::Pipeline(Device const *device, vk::PipelineLayout const layout, vk::Pipeline const pipeline,
|
||||
eastl::vector<vk::DescriptorSetLayout> &&setLayouts, Kind const kind)
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/sampler.h"
|
||||
#include "aster/core/sampler.h"
|
||||
|
||||
#include "core/device.h"
|
||||
#include "aster/core/device.h"
|
||||
|
||||
Sampler::~Sampler()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/surface.h"
|
||||
#include "aster/core/surface.h"
|
||||
|
||||
#include "core/instance.h"
|
||||
#include "core/window.h"
|
||||
#include "aster/core/instance.h"
|
||||
#include "aster/core/window.h"
|
||||
|
||||
Surface::Surface(Instance &context, Window const &window)
|
||||
: m_Context(&context)
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// ==============================================
|
||||
|
||||
#include "core/swapchain.h"
|
||||
#include "aster/core/swapchain.h"
|
||||
|
||||
#include "core/device.h"
|
||||
#include "core/physical_device.h"
|
||||
#include "core/surface.h"
|
||||
#include "aster/core/device.h"
|
||||
#include "aster/core/physical_device.h"
|
||||
#include "aster/core/surface.h"
|
||||
|
||||
[[nodiscard]] vk::Extent2D GetExtent(Size2D size, vk::SurfaceCapabilitiesKHR *surfaceCapabilities);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "core/window.h"
|
||||
#include "aster/core/window.h"
|
||||
|
||||
#include "core/instance.h"
|
||||
#include "util/logger.h"
|
||||
#include "aster/core/instance.h"
|
||||
#include "aster/util/logger.h"
|
||||
|
||||
std::atomic_uint64_t Window::m_WindowCount = 0;
|
||||
std::atomic_bool Window::m_IsGlfwInit = false;
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "systems/commit_manager.h"
|
||||
#include "aster/systems/commit_manager.h"
|
||||
|
||||
#include "EASTL/array.h"
|
||||
#include "core/device.h"
|
||||
#include "core/image_view.h"
|
||||
#include "systems/rendering_device.h"
|
||||
#include "aster/core/device.h"
|
||||
#include "aster/core/image_view.h"
|
||||
#include "aster/systems/rendering_device.h"
|
||||
|
||||
using namespace systems;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "systems/rendering_device.h"
|
||||
#include "aster/systems/rendering_device.h"
|
||||
|
||||
#include <aster/systems/pipeline_helpers.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,16 +3,16 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "systems/rendering_device.h"
|
||||
#include "aster/systems/rendering_device.h"
|
||||
|
||||
#include "core/queue_allocation.h"
|
||||
#include "core/window.h"
|
||||
#include "systems/resource.h"
|
||||
#include "aster/core/queue_allocation.h"
|
||||
#include "aster/core/window.h"
|
||||
#include "aster/systems/resource.h"
|
||||
|
||||
#include "aster/systems/sync_server.h"
|
||||
#include "aster/util/files.h"
|
||||
#include "systems/commit_manager.h"
|
||||
#include "systems/context.h"
|
||||
#include "aster/systems/commit_manager.h"
|
||||
#include "aster/systems/context.h"
|
||||
|
||||
#include <EASTL/vector_map.h>
|
||||
#include <fmt/ranges.h>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Copyright (c) 2020-2025 Anish Bhobe
|
||||
// =============================================
|
||||
|
||||
#include "util/logger.h"
|
||||
#include "aster/util/logger.h"
|
||||
|
||||
auto g_Logger = Logger();
|
||||
// ReSharper disable once CppInconsistentNaming
|
||||
|
|
|
|||
Loading…
Reference in New Issue