Refactor the CMakeLists for all the samples; use vulkan.hpp/vulkan_raii.hpp as precompiled header.
This commit is contained in:
@@ -36,5 +36,5 @@ if (NOT TESTS_BUILD_ONLY_DYNAMIC)
|
||||
)
|
||||
|
||||
set_target_properties(DeviceFunctions PROPERTIES FOLDER "Tests")
|
||||
target_link_libraries(DeviceFunctions PRIVATE utils "${Vulkan_LIBRARIES}")
|
||||
target_link_libraries(DeviceFunctions PRIVATE utils ${Vulkan_LIBRARIES})
|
||||
endif()
|
||||
@@ -27,9 +27,8 @@
|
||||
#undef VULKAN_HPP_DISPATCH_LOADER_DYNAMIC
|
||||
#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 0
|
||||
|
||||
#include "vulkan/vulkan.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
static char const * AppName = "DeviceFunctions";
|
||||
static char const * EngineName = "Vulkan.hpp";
|
||||
|
||||
Reference in New Issue
Block a user