Sets up smaller example and fixes build issues
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
|
||||
#add_subdirectory(renderer)
|
||||
include(dependencies/spdlog)
|
||||
|
||||
add_subdirectory(renderer)
|
||||
add_subdirectory(engine)
|
||||
add_subdirectory(objectloaders)
|
||||
add_subdirectory(editor)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user