-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
86 lines (75 loc) · 1.87 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
cmake_minimum_required(VERSION 3.15.0)
project(VulkanPong)
set(CMAKE_CXX_STANDARD 20)
include_directories(
src/
src/Vulkan
src/models
src/Vulkan/Core
src/Window
src/Logging
src/Game
res/ConstexprMap
res/Timer
res/nlohmannjson
)
add_subdirectory(res/ConstexprMap)
add_subdirectory(res/Timer)
add_subdirectory(res/nlohmannjson)
add_executable(${PROJECT_NAME}
src/main.cpp
src/Window/Window.h
src/Window/Window.cpp
src/Logging/ErrorLog.h
src/models/Quad.h
src/models/Img.h
src/models/Img.cpp
src/Logging/VkDebug.h
src/Logging/VkDebug.cpp
src/Game/Game.h
src/Game/Game.cpp
src/Game/Math.h
src/Game/Math.cpp
src/Game/GameStartup.h
src/Game/GameStartup.cpp
src/Vulkan/Core/VkMain.h
src/Vulkan/Core/VkMain.cpp
src/Vulkan/Core/VkQueues.cpp
src/Vulkan/Core/ExtFunctions.h
src/Vulkan/Core/ExtFunctions.cpp
src/Vulkan/VkSwapChain.h
src/Vulkan/VkSwapChain.cpp
src/Vulkan/VkCommands.h
src/Vulkan/VkCommands.cpp
src/Vulkan/VkRenderer.h
src/Vulkan/VkRenderer.cpp
src/Vulkan/VkState.h
src/Vulkan/VkState.cpp
src/Vulkan/VkFramebuffer.h
src/Vulkan/VkFramebuffer.cpp
src/Vulkan/VkShader.h
src/Vulkan/VkShader.cpp
src/Vulkan/VkPipeline.h
src/Vulkan/VkPipeline.cpp
src/Vulkan/VkQuad.h
src/Vulkan/VkQuad.cpp
src/Vulkan/VkMemoryAllocator.h
src/Vulkan/VkMemoryAllocator.cpp
src/Vulkan/VkVirtualFrame.h
src/Vulkan/VkVirtualFrame.cpp
src/Vulkan/VkUtils.h
src/Vulkan/VkDescriptorSetsAllocator.h
src/Vulkan/VkDescriptorSetsAllocator.cpp
src/Vulkan/VkTexture2D.h
src/Vulkan/VkTexture2D.cpp
src/Vulkan/VkSampler.h
src/Vulkan/VkSampler.cpp
)
target_link_libraries(${PROJECT_NAME}
Timer
nl_json
ConstexprMap
fmt
glfw3 X11 Xxf86vm Xrandr pthread Xi Xinerama Xcursor
vulkan dl
)