Rename build option to make it clearer that it belongs to QNX only.
authorMike Gorchak <mgorchak@blackberry.com>
Sat, 13 Mar 2021 00:17:03 +0000 (19:17 -0500)
committerLenny Komow <lenny@lunarg.com>
Tue, 6 Apr 2021 20:52:51 +0000 (14:52 -0600)
BUILD.md
CMakeLists.txt
loader/CMakeLists.txt
tests/CMakeLists.txt

index 69bc8b467a524fa561715d1835cb539c0900942b..52faedbde5f83a523df6c6a8a95067b2237be275 100644 (file)
--- a/BUILD.md
+++ b/BUILD.md
@@ -172,7 +172,7 @@ on/off options currently supported by this repository:
 | BUILD_WSI_XLIB_SUPPORT | Linux | `ON` | Build the loader with the Xlib entry points enabled. Without this, the X11 headers should not be needed, but the extension `VK_KHR_xlib_surface` won't be available. |
 | BUILD_WSI_WAYLAND_SUPPORT | Linux | `ON` | Build the loader with the Wayland entry points enabled. Without this, the Wayland headers should not be needed, but the extension `VK_KHR_wayland_surface` won't be available. |
 | BUILD_WSI_DIRECTFB_SUPPORT | Linux | `OFF` | Build the loader with the DirectFB entry points enabled. Without this, the DirectFB headers should not be needed, but the extension `VK_EXT_directfb_surface` won't be available. |
-| BUILD_WSI_SCREEN_SUPPORT | QNX | `OFF` | Build the loader with the QNX Screen entry points enabled. Without this the extension `VK_QNX_screen_surface` won't be available. |
+| BUILD_WSI_SCREEN_QNX_SUPPORT | QNX | `OFF` | Build the loader with the QNX Screen entry points enabled. Without this the extension `VK_QNX_screen_surface` won't be available. |
 | ENABLE_WIN10_ONECORE | Windows | `OFF` | Link the loader to the [OneCore](https://msdn.microsoft.com/en-us/library/windows/desktop/mt654039.aspx) umbrella library, instead of the standard Win32 ones. |
 | USE_CCACHE | Linux | `OFF` | Enable caching with the CCache program. |
 | USE_MASM | Windows | `ON` | Controls whether to build assembly files with MS assembler, else fallback to C code |
index 3dadc630a3c578b82cc704a75b969caae2e1fba7..18d12e5a2cf02a76bbcb69a1ab046a85131abf89 100644 (file)
@@ -122,7 +122,7 @@ if(UNIX AND NOT APPLE) # i.e.: Linux
     option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" ON)
     option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" ON)
     option(BUILD_WSI_DIRECTFB_SUPPORT "Build DirectFB WSI support" OFF)
-    option(BUILD_WSI_SCREEN_SUPPORT "Build QNX Screen WSI support" OFF)
+    option(BUILD_WSI_SCREEN_QNX_SUPPORT "Build QNX Screen WSI support" OFF)
 
     if(BUILD_WSI_XCB_SUPPORT)
         find_package(XCB REQUIRED)
@@ -142,7 +142,7 @@ if(UNIX AND NOT APPLE) # i.e.: Linux
         include_directories(SYSTEM ${DIRECTFB_INCLUDE_DIR})
     endif()
 
-    if(BUILD_WSI_SCREEN_SUPPORT)
+    if(BUILD_WSI_SCREEN_QNX_SUPPORT)
         # Part of OS, no additional include directories are required
     endif()
 endif()
index 7c07efcbc92ad2e8154afde8f4838470cad161c8..9aa4b3942682746f0ecb942efc905e6acbc11c61 100644 (file)
@@ -58,7 +58,7 @@ elseif(UNIX AND NOT APPLE) # i.e.: Linux
         set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS VK_USE_PLATFORM_DIRECTFB_EXT)
     endif()
 
-    if(BUILD_WSI_SCREEN_SUPPORT)
+    if(BUILD_WSI_SCREEN_QNX_SUPPORT)
         set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS VK_USE_PLATFORM_SCREEN_QNX)
     endif()
 else()
index fe8d965222db2beef93244ed76bc225ce20427d5..52aa2f9592cd6d13396d731d241e0e52c485fb05 100644 (file)
@@ -46,7 +46,7 @@ elseif(UNIX AND NOT APPLE) # i.e.: Linux
         add_definitions(-DVK_USE_PLATFORM_WAYLAND_KHR)
     endif()
 
-    if(BUILD_WSI_SCREEN_SUPPORT)
+    if(BUILD_WSI_SCREEN_QNX_SUPPORT)
         add_definitions(-DVK_USE_PLATFORM_SCREEN_QNX)
     endif()
 else()