This commit is contained in:
Ilya Shurupov 2024-11-24 12:11:54 +03:00
parent 9de6d7426f
commit f5bd6f85a8
18 changed files with 14 additions and 16 deletions

3
TODO Normal file
View file

@ -0,0 +1,3 @@
- texture mapping
- depth sampling
- replace Graphics module in 'Modules' project

2
extern/Modules vendored

@ -1 +1 @@
Subproject commit 762268387e6e5da36dc23e23c1cd46cef184941a
Subproject commit 068348b3e3e56efb13c94a2e2d09239ec8a3b63c

View file

@ -2,17 +2,9 @@ cmake_minimum_required(VERSION 3.30)
project(App)
add_executable(${PROJECT_NAME}
private/main.cpp
private/shader.cpp
private/swapchain.cpp
private/renderer.cpp
private/vulkan_utils.cpp
private/app_interactive.cpp
private/app_offscreen.cpp
)
file(GLOB SOURCES "./private/*.cpp")
add_executable(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC public)
target_link_libraries(${PROJECT_NAME} PUBLIC Common GPU PlatformWindow)
file(COPY private/shaders DESTINATION ${PROJECT_BINARY_DIR}/)
file(COPY shaders DESTINATION ${PROJECT_BINARY_DIR}/)

View file

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.30)
project(Common)
add_library(${PROJECT_NAME} utils.cpp)
target_include_directories(${PROJECT_NAME} PUBLIC .)
file(GLOB SOURCES "./private/*.cpp")
add_library(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC public)
target_link_libraries(${PROJECT_NAME} PUBLIC Containers Math)

View file

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.30)
project(GPU)
add_library(${PROJECT_NAME} private/GPU.cpp)
file(GLOB SOURCES "./private/*.cpp")
add_library(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC public)
target_link_libraries(${PROJECT_NAME} PUBLIC vulkan Common)

View file

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.30)
project(PlatformWindow)
add_library(${PROJECT_NAME} private/PlatformWindow.cpp)
file(GLOB SOURCES "./private/*.cpp")
add_library(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC public)
target_link_libraries(${PROJECT_NAME} PUBLIC glfw GPU)