summaryrefslogtreecommitdiffstats
path: root/Help/envvar
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2019-10-12 16:49:04 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-18 18:37:33 (GMT)
commit8065a686ddcb54b10fd6758eca24280f3e68926b (patch)
tree26160936788f23291802c1639be94a9b4a9cd463 /Help/envvar
parent493c4e781a35a92c5c912b22493b84de750b1fe1 (diff)
downloadCMake-8065a686ddcb54b10fd6758eca24280f3e68926b.zip
CMake-8065a686ddcb54b10fd6758eca24280f3e68926b.tar.gz
CMake-8065a686ddcb54b10fd6758eca24280f3e68926b.tar.bz2
Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name
Fixes: #18386
Diffstat (limited to 'Help/envvar')
-rw-r--r--Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst b/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst
new file mode 100644
index 0000000..e9e0810
--- /dev/null
+++ b/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst
@@ -0,0 +1,9 @@
+CMAKE_EXPORT_COMPILE_COMMANDS
+-----------------------------
+
+.. include:: ENV_VAR.txt
+
+The default value for :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` when there
+is no explicit configuration given on the first run while creating a new
+build tree. On later runs in an existing build tree the value persists in
+the cache as :variable:`CMAKE_EXPORT_COMPILE_COMMANDS`.