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
This commit is contained in:
Shannon Booth
2020-12-24 07:16:34 +13:00
parent ce8bb12f72
commit a742b5d137
12 changed files with 90 additions and 3 deletions
@@ -0,0 +1,6 @@
export-compile-commands-per-target
----------------------------------
* The :prop_tgt:`EXPORT_COMPILE_COMMANDS` target property was added
for the associated :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` variable
to allow for configuration of exporting compile commands per target.