summaryrefslogtreecommitdiffstats
path: root/Help/variable
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/variable
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/variable')
-rw-r--r--Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst b/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst
index 4548abc..6d2450b 100644
--- a/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst
+++ b/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst
@@ -25,6 +25,9 @@ form. The format of the JSON file looks like:
}
]
+This is initialized by the :envvar:`CMAKE_EXPORT_COMPILE_COMMANDS` environment
+variable.
+
.. note::
This option is implemented only by :ref:`Makefile Generators`
and the :generator:`Ninja`. It is ignored on other generators.