summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-10-14 19:13:09 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-10-19 14:25:57 (GMT)
commitefab856008e104fe8de237095b0c3ef62401f32a (patch)
tree7c09e161ca6d0027d9b352589d5bb3070b52c246 /Tests
parent2208db114c97f6cd88306507ca917008b8e37d47 (diff)
downloadCMake-efab856008e104fe8de237095b0c3ef62401f32a.zip
CMake-efab856008e104fe8de237095b0c3ef62401f32a.tar.gz
CMake-efab856008e104fe8de237095b0c3ef62401f32a.tar.bz2
Help: Show environment field
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CMakePresets/DocumentationExample.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresets/DocumentationExample.cmake b/Tests/RunCMake/CMakePresets/DocumentationExample.cmake
index 23886f0..d459e9e 100644
--- a/Tests/RunCMake/CMakePresets/DocumentationExample.cmake
+++ b/Tests/RunCMake/CMakePresets/DocumentationExample.cmake
@@ -2,3 +2,4 @@ include(${CMAKE_CURRENT_LIST_DIR}/TestVariable.cmake)
test_variable(FIRST_CACHE_VARIABLE "BOOL" "OFF")
test_variable(SECOND_CACHE_VARIABLE "UNINITIALIZED" "ON")
+test_environment_variable(MY_ENVIRONMENT_VARIABLE "Test")