mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-23 07:10:23 +00:00
Rename build option to make it clearer that it belongs to QNX only.
This commit is contained in:
parent
be295c597f
commit
977ac085f3
2
BUILD.md
2
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 |
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user