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