Files
CMake/Help/prop_tgt/EXPORT_COMPILE_COMMANDS.rst
Shannon Booth a742b5d137 CMAKE_EXPORT_COMPILE_COMMANDS: allow configuration per target
The new target property `EXPORT_COMPILE_COMMANDS` associated with the
existing global variable can be used to optionally configure targets for
their compile commands to be exported.

Fixes: #19462
2021-01-06 11:51:39 +13:00

10 lines
287 B
ReStructuredText

EXPORT_COMPILE_COMMANDS
-----------------------
.. versionadded:: 3.20
Enable/Disable output of compile commands during generation for a target.
This property is initialized by the value of the variable
:variable:`CMAKE_EXPORT_COMPILE_COMMANDS` if it is set when a target is created.