feat: initial commit
This commit is contained in:
15
CMakeLists.txt
Normal file
15
CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(VulkanTest)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
find_package(glfw3 REQUIRED)
|
||||
find_package(Vulkan REQUIRED)
|
||||
|
||||
add_compile_definitions(WITH_VALIDATION_LAYERS)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
FILE(GLOB_RECURSE CXX_SOURCES src/*.cpp)
|
||||
|
||||
add_executable(VulkanTest ${CXX_SOURCES})
|
||||
target_link_libraries(VulkanTest glfw vulkan)
|
||||
Reference in New Issue
Block a user