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(DebugUtilsObjectName)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
DebugUtilsObjectName.cpp
|
||||
)
|
||||
|
||||
source_group(headers FILES ${HEADERS})
|
||||
source_group(sources FILES ${SOURCES})
|
||||
|
||||
add_executable(DebugUtilsObjectName
|
||||
${HEADERS}
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
set_target_properties(DebugUtilsObjectName PROPERTIES FOLDER "Samples")
|
||||
target_link_libraries(DebugUtilsObjectName PRIVATE utils)
|
||||
vulkan_hpp__setup_sample_dynamic( NAME DebugUtilsObjectName )
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
// Demonstrate usage of DebugUtilsObjectName
|
||||
|
||||
#include "../utils/utils.hpp"
|
||||
#include "vulkan/vulkan.hpp"
|
||||
|
||||
static char const * AppName = "DebugUtilsObjectName";
|
||||
static char const * EngineName = "Vulkan.hpp";
|
||||
|
||||
Reference in New Issue
Block a user