Refactor the CMakeLists for all the samples; use vulkan.hpp/vulkan_raii.hpp as precompiled header.

This commit is contained in:
asuessenbach
2022-08-10 11:19:06 +02:00
parent 1a64b5fcc0
commit 5480d192f5
200 changed files with 299 additions and 2068 deletions

View File

@@ -16,7 +16,6 @@
// Determine if the current system can use Vulkan 1.1 API features
#include "../utils/utils.hpp"
#include "vulkan/vulkan.hpp"
static char const * AppName = "16_Vulkan_1_1";
static char const * EngineName = "Vulkan.hpp";

View File

@@ -14,22 +14,4 @@
cmake_minimum_required(VERSION 3.2)
project(16_Vulkan_1_1)
set(HEADERS
)
set(SOURCES
16_Vulkan_1_1.cpp
)
source_group(headers FILES ${HEADERS})
source_group(sources FILES ${SOURCES})
add_executable(16_Vulkan_1_1
${HEADERS}
${SOURCES}
)
set_target_properties(16_Vulkan_1_1 PROPERTIES FOLDER "Samples")
target_link_libraries(16_Vulkan_1_1 PRIVATE utils)
vulkan_hpp__setup_sample_dynamic( NAME 16_Vulkan_1_1 )