Lines Matching +full:vulkan +full:- +full:loader
2 # Copyright (c) 2014-2019 Valve Corporation
3 # Copyright (c) 2014-2019 LunarG, Inc.
9 # http://www.apache.org/licenses/LICENSE-2.0
21 add_definitions(-DNV_EXTENSIONS -DAMD_EXTENSIONS)
24 add_definitions(-DVK_USE_PLATFORM_WIN32_KHR -DWIN32_LEAN_AND_MEAN)
26 add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
28 add_definitions(-DVK_USE_PLATFORM_ANDROID_KHR)
30 add_definitions(-DVK_USE_PLATFORM_MACOS_MVK)
33 add_definitions(-DVK_USE_PLATFORM_XCB_KHR)
37 add_definitions(-DVK_USE_PLATFORM_XLIB_KHR)
41 add_definitions(-DVK_USE_PLATFORM_WAYLAND_KHR)
52 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES")
60 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
68 # extra setup for out-of-tree builds
70 …add_custom_target(VulkanVL_binary_dir_symlinks ALL COMMAND ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/run_…
76 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${RUN_ALL} run_all_tests.ps1
83 # The vulkan loader search is:
84 # Existing vulkan target already present in the build
85 # User-supplied setting of CMAKE_PREFIX_PATH
90 set(VULKAN_LOADER_INSTALL_DIR "LOADER-NOTFOUND" CACHE PATH "Absolute path to a Vulkan-Loader instal…
92 if(NOT TARGET vulkan)
94 message(STATUS "VULKAN_LOADER_INSTALL_DIR specified, using find_package to locate Vulkan")
96 …US "VULKAN_LOADER_INSTALL_DIR environment variable specified, using find_package to locate Vulkan")
102 find_package(Vulkan)
112 add_dependencies(vk_layer_validation_tests Vulkan::Vulkan)
128 VkLayer_core_validation-json
129 VkLayer_device_profile_api-json
130 VkLayer_object_lifetimes-json
131 VkLayer_stateless_validation-json
132 VkLayer_standard_validation-json
133 VkLayer_thread_safety-json
134 VkLayer_unique_objects-json)
139 PRIVATE Vulkan::Vulkan
144 target_compile_options(vk_layer_validation_tests PRIVATE "-Wno-sign-compare")
147 PRIVATE Vulkan::Vulkan
155 PRIVATE Vulkan::Vulkan
170 …# Copy the loader shared lib (if supplied) to the test application directory so the test app finds…
173 … COMMAND ${CMAKE_COMMAND} -E copy ${VULKAN_LOADER_INSTALL_DIR}/bin/vulkan-1.dll