Lines Matching +full:- +full:- +full:disable +full:- +full:wayland
2 # Copyright (c) 2014-2019 Valve Corporation
3 # Copyright (c) 2014-2019 LunarG, Inc.
9 # http://www.apache.org/licenses/LICENSE-2.0
18 …ake project initialization -----------------------------------------------------------------------…
19 # This section contains pre-project() initialization, and ends with the project() command.
26 project(Vulkan-ValidationLayers)
28 # User-interface declarations ---------------------------------------------------------------------…
35 add_definitions(-DAPI_NAME="${API_NAME}")
49 add_library(Vulkan-Headers INTERFACE)
50 target_include_directories(Vulkan-Headers INTERFACE ${VulkanHeaders_INCLUDE_DIRS})
51 add_library(Vulkan::Headers ALIAS Vulkan-Headers)
88 option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" ON)
89 …set(DEMOS_WSI_SELECTION "XCB" CACHE STRING "Select WSI target for demos (XCB, XLIB, WAYLAND, DISPL…
100 find_package(Wayland REQUIRED)
105 # Platform-specific compiler switches
107 add_compile_options(-Wall
108 -Wextra
109 -Wno-unused-parameter
110 -Wno-missing-field-initializers
111 -fno-strict-aliasing
112 -fno-builtin-memcmp
113 -fvisibility=hidden)
118 add_compile_options(-Werror)
123 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
125 …# For GCC version 7.1 or greater, we need to disable the implicit fallthrough warning since there'…
128 add_compile_options(-Wimplicit-fallthrough=0)
133 # Disable RTTI
134 add_compile_options("/GR-")
158 …set(GLSLANG_INSTALL_DIR "GLSLANG-NOTFOUND" CACHE PATH "Absolute path to a glslang install director…
160 message(FATAL_ERROR "Must define location of glslang binaries -- see BUILD.md")
245 # spirv-tools
246 if (NOT TARGET SPIRV-Tools)
248 CACHE PATH "User defined path to the SPIRV-Tools binaries for this project")
250 CACHE PATH "User defined path to the SPIRV-Tools-opt binaries for this project")
257 find_library(SPIRV_TOOLS_LIB NAMES SPIRV-Tools HINTS ${SPIRV_TOOLS_SEARCH_PATH})
258 find_library(SPIRV_TOOLS_OPT_LIB NAMES SPIRV-Tools-opt HINTS ${SPIRV_TOOLS_OPT_SEARCH_PATH})
261 add_library(SPIRV-Tools-opt STATIC IMPORTED)
262 add_library(SPIRV-Tools STATIC IMPORTED)
264 find_library(SPIRV_TOOLS_DLIB NAMES SPIRV-Toolsd HINTS ${SPIRV_TOOLS_DEBUG_SEARCH_PATH})
265 …find_library(SPIRV_TOOLS_OPT_DLIB NAMES SPIRV-Tools-optd HINTS ${SPIRV_TOOLS_OPT_DEBUG_SEARCH_PATH…
267 set_target_properties(SPIRV-Tools
272 set_target_properties(SPIRV-Tools-opt
278 set(SPIRV_TOOLS_LIBRARIES SPIRV-Tools-opt SPIRV-Tools)
283 set(SPIRV_TOOLS_LIBRARIES SPIRV-Tools SPIRV-Tools-opt)
284 …set(SPIRV_TOOLS_INCLUDE_DIR "${spirv-tools_SOURCE_DIR}/include" CACHE PATH "Path to spirv tools he…
290 …rate dependent helper files ----------------------------------------------------------------------…
297 …OMMAND ${PYTHON_EXECUTABLE} ${SCRIPTS_DIR}/lvl_genvk.py -registry ${VulkanRegistry_DIR}/vk.xml -sc…
306 # Add rules to generate XML-derived source files.
328 … VkLayer_utils library ---------------------------------------------------------------------------…
330 …e same directory that contains the layers. TODO: This should not be a library -- in future, include
352 # uninstall target --------------------------------------------------------------------------------…
358 …add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstal…
362 …ader version from vulkan_core.h ------------------------------------------------------------------…
363 …{VulkanHeaders_INCLUDE_DIRS}/vulkan/vulkan_core.h" lines REGEX "^#define VK_HEADER_VERSION [0-9]+")
367 "[0-9]+"
374 # Add subprojects ---------------------------------------------------------------------------------…