Refactor the CMakeLists for all the samples; use vulkan.hpp/vulkan_raii.hpp as precompiled header.
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
#include "../utils/utils.hpp"
|
||||
#include "vulkan/vulkan.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
@@ -14,22 +14,4 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(07_InitUniformBuffer)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
07_InitUniformBuffer.cpp
|
||||
)
|
||||
|
||||
source_group(headers FILES ${HEADERS})
|
||||
source_group(sources FILES ${SOURCES})
|
||||
|
||||
add_executable(07_InitUniformBuffer
|
||||
${HEADERS}
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
set_target_properties(07_InitUniformBuffer PROPERTIES FOLDER "Samples")
|
||||
target_link_libraries(07_InitUniformBuffer PRIVATE utils)
|
||||
vulkan_hpp__setup_sample_dynamic( NAME 07_InitUniformBuffer )
|
||||
|
||||
Reference in New Issue
Block a user