aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2018-06-22 15:14:33 -0600
committerKarl Schultz <karl@lunarg.com>2018-06-25 09:02:15 -0600
commita80ef66cbafc7520e2864559b0390d2e4ae5a015 (patch)
tree2d5182978cec094bde47c971c11839e9ff3bb7ad /BUILD.md
parent93c774e110307f3878b0469ff8b136412622183c (diff)
downloadvulkan-validation-layers-a80ef66cbafc7520e2864559b0390d2e4ae5a015.tar.gz
build: Improve googletest handling
Behavior is largely unchanged except that specifying BUILD_TESTS=ON with googletest not present no longer quietly skips building the tests. - Make inclusion of external directory unconditional. We may someday put something there is not related to testing. - Make default for BUILD_TEST dependent on googletest presence. - Remove if() around entire contents of tests CMake file. - Add CMake messaging to clarify googletest activity. - Throw a CMake error if googletest not present and BUILD_TESTS=ON
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD.md b/BUILD.md
index c395e7814..dd30cfb7f 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -141,7 +141,7 @@ on/off options currently supported by this repository:
| ------ | -------- | ------- | ----------- |
| BUILD_LAYERS | All | `ON` | Controls whether or not the validation layers are built. |
| BUILD_LAYER_SUPPORT_FILES | All | `OFF` | Controls whether or not layer support files are built if the layers are not built. |
-| BUILD_TESTS | All | `ON` | Controls whether or not the validation layer tests are built. This option is only available when a copy of Google Test is available in the "external" directory. |
+| BUILD_TESTS | All | `???` | Controls whether or not the validation layer tests are built. The default is `ON` when the Google Test repository is cloned into the `external` directory. Otherwise, the default is `OFF`. |
| INSTALL_TESTS | All | `OFF` | Controls whether or not the validation layer tests are installed. This option is only available when a copy of Google Test is available
| BUILD_WSI_XCB_SUPPORT | Linux | `ON` | Build the components with XCB support. |
| BUILD_WSI_XLIB_SUPPORT | Linux | `ON` | Build the components with Xlib support. |