Sets up smaller example and fixes build issues

This commit is contained in:
2025-12-16 20:50:14 -05:00
parent 846b972047
commit a92404d9b3
5 changed files with 6 additions and 7 deletions

View File

@@ -1,2 +1,2 @@
set(SPDLOG_USE_STD_FORMAT ON)
add_subdirectory(${CMAKE_SOURCE_DIR}/dependencies/spdlog ${CMAKE_BINARY_DIR}/bin)
add_subdirectory(${CMAKE_SOURCE_DIR}/dependencies/spdlog ${CMAKE_CURRENT_BINARY_DIR}/bin)

View File

@@ -1,5 +1,7 @@
#add_subdirectory(renderer)
include(dependencies/spdlog)
add_subdirectory(renderer)
add_subdirectory(engine)
add_subdirectory(objectloaders)
add_subdirectory(editor)

View File

@@ -10,8 +10,6 @@ target_compile_definitions(FGLEngine PUBLIC VULKAN_HPP_FLAGS_MASK_TYPE_AS_PUBLIC
target_link_libraries(FGLEngine PUBLIC stdc++exp)
include(dependencies/spdlog)
target_link_libraries(FGLEngine PUBLIC Vulkan::Vulkan ImGui FGLLoader spdlog slang glm)
target_include_directories(FGLEngine SYSTEM PUBLIC ${GLM_INCLUDE_DIRS})
target_link_libraries(FGLEngine PUBLIC glfw Tracy::TracyClient)

View File

@@ -15,8 +15,6 @@ target_compile_definitions(FGLRenderer PUBLIC
VULKAN_HPP_SMART_HANDLE_IMPLICIT_CAST
)
include(dependencies/spdlog)
target_link_libraries(FGLRenderer PUBLIC Vulkan::Vulkan FGLLoader spdlog slang glm)
target_include_directories(FGLRenderer SYSTEM PUBLIC ${GLM_INCLUDE_DIRS})
target_link_libraries(FGLRenderer PUBLIC glfw Tracy::TracyClient libFGL)

View File

@@ -26,7 +26,8 @@ namespace fgl::renderer
FGL_DELETE_MOVE( Vulkan );
FGL_DELETE_COPY( Vulkan );
Vulkan();
Vulkan() = delete;
Vulkan( std::string_view app_name );
~Vulkan();
};