project(VulkanGraphics) find_package(Vulkan REQUIRED) file(GLOB SOURCES "./private/*.cpp") file(GLOB HEADERS "./public/*.hpp") add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS}) target_include_directories(${PROJECT_NAME} PUBLIC ./public/) target_include_directories(${PROJECT_NAME} PRIVATE ./private/ ../Externals/glfw/include) target_link_libraries(${PROJECT_NAME} PUBLIC Vulkan::Vulkan glfw) add_executable(Example${PROJECT_NAME} ./examples/Example.cpp) target_link_libraries(Example${PROJECT_NAME} ${PROJECT_NAME}) target_include_directories(Example${PROJECT_NAME} PRIVATE ../Externals/glfw/include)