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

@@ -40,6 +40,6 @@ if (NOT TESTS_BUILD_ONLY_DYNAMIC)
endif()
set_target_properties(DispatchLoaderStatic PROPERTIES FOLDER "Tests")
target_link_libraries(DispatchLoaderStatic PRIVATE utils "${Vulkan_LIBRARIES}")
target_link_libraries(DispatchLoaderStatic PRIVATE utils ${Vulkan_LIBRARIES})
endif()

View File

@@ -18,10 +18,9 @@
#undef VULKAN_HPP_DISPATCH_LOADER_DYNAMIC
#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 0
#include "vulkan/vulkan.hpp"
#include <iostream>
#include <map>
#include <vulkan/vulkan.hpp>
int main( int /*argc*/, char ** /*argv*/ )
{