summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CMakePresets/DocumentationExample.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMakePresets/DocumentationExample.cmake')
-rw-r--r--Tests/RunCMake/CMakePresets/DocumentationExample.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresets/DocumentationExample.cmake b/Tests/RunCMake/CMakePresets/DocumentationExample.cmake
new file mode 100644
index 0000000000..1f2fc002df
--- /dev/null
+++ b/Tests/RunCMake/CMakePresets/DocumentationExample.cmake
@@ -0,0 +1,3 @@
+include(${CMAKE_CURRENT_LIST_DIR}/TestVariable.cmake)
+
+test_variable(MY_CACHE_VARIABLE "BOOL" "OFF")