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

@@ -47,3 +47,4 @@ target_link_libraries(utils PUBLIC glslang-default-resource-limits)
target_link_libraries(utils PUBLIC SPIRV)
target_compile_definitions(utils PUBLIC VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1)
target_precompile_headers(utils PRIVATE <vulkan/vulkan.hpp>)

View File

@@ -17,7 +17,8 @@
#include "SPIRV/GlslangToSpv.h"
#include "StandAlone/ResourceLimits.h"
#include "vulkan/vulkan.hpp"
#include <vulkan/vulkan.hpp>
namespace vk
{

View File

@@ -13,10 +13,9 @@
// limitations under the License.
//
#include "vulkan/vulkan.hpp"
#include <string>
#include <vector>
#include <vulkan/vulkan.hpp>
namespace vk
{

View File

@@ -15,14 +15,14 @@
// limitations under the License.
//
#include "vulkan/vulkan.hpp"
#include <vulkan/vulkan.hpp>
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#include <iostream>
#include <limits>
#include <map>
#include <memory> // std::unique_ptr
#include <memory> // std::unique_ptr
namespace vk
{