Refactor the CMakeLists for all the samples; use vulkan.hpp/vulkan_raii.hpp as precompiled header.
This commit is contained in:
@@ -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()
|
||||
@@ -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*/ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user