Separate vulkan code into gpu module
This commit is contained in:
1 parent
51c01a2f9e
commit
d4214941b1
4 files changed
+311
-236
No files matched your search
+6
-2
@@ -36,6 +36,10 @@ add_shaders(shaders
|
||||
frag.glsl
|
||||
)
|
||||
|
||||
add_executable(demo demo.c)
|
||||
add_executable(demo
|
||||
main.c
|
||||
gpu.c
|
||||
)
|
||||
configure_target(demo)
|
||||
target_link_libraries(demo PRIVATE glfw m shaders vulkan)
|
||||
target_include_directories(demo PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
target_link_libraries(demo PRIVATE glfw m vulkan shaders)
|
||||
Reference in new issue
Block a user