Remove BUILD_LOADER build option
authorCharles Giessen <charles@lunarg.com>
Wed, 16 Feb 2022 19:26:07 +0000 (12:26 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 9 Mar 2022 22:06:30 +0000 (15:06 -0700)
No reason to have this since the tests depend on the loader being built to function.

BUILD.md
CMakeLists.txt

index 215c4f0ad6b9d1a15abe68c8de9091a5f661a99d..c60c7c600caba47a1437b2a7e88a63e36364142f 100644 (file)
--- a/BUILD.md
+++ b/BUILD.md
@@ -213,7 +213,6 @@ on/off options currently supported by this repository:
 
 | Option                       | Platform | Default | Description                                                                                                                                                                       |
 | ---------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| BUILD_LOADER                 | All      | `ON`    | Controls whether or not the loader is built.                                                                                                                                      |
 | BUILD_TESTS                  | All      | `OFF`   | Controls whether or not the loader tests are built.                                                                                                                               |
 | BUILD_WSI_XCB_SUPPORT        | Linux    | `ON`    | Build the loader with the XCB entry points enabled. Without this, the XCB headers should not be needed, but the extension `VK_KHR_xcb_surface` won't be available.                |
 | 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.              |
index e3c7c94ce854d5c48f7175977b97f4c9e44309b5..595fcabd66efc0843ae93ac8c85ceabc64eb4a48 100644 (file)
@@ -240,8 +240,6 @@ if(WIN32)
     option(ENABLE_WIN10_ONECORE "Link the loader with OneCore umbrella libraries" OFF)
 endif()
 
-option(BUILD_LOADER "Build loader" ON)
-
 add_library(platform_wsi_defines INTERFACE)
 if(WIN32)
     target_compile_definitions(platform_wsi_defines INTERFACE VK_USE_PLATFORM_WIN32_KHR)
@@ -366,9 +364,7 @@ if(NOT TARGET uninstall)
     set_target_properties(uninstall PROPERTIES FOLDER ${LOADER_HELPER_FOLDER})
 endif()
 
-if(BUILD_LOADER)
-    add_subdirectory(loader)
-endif()
+add_subdirectory(loader)
 
 if(BUILD_TESTS)
     # Set gtest build configuration