EXPORT_COMPILE_COMMANDS

From Get docs
Cmake/docs/3.21/prop tgt/export compile commands


EXPORT_COMPILE_COMMANDS

New in version 3.20.


Enable/Disable output of compile commands during generation for a target.

This property is initialized by the value of the variable CMAKE_EXPORT_COMPILE_COMMANDS if it is set when a target is created.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_tgt/EXPORT_COMPILE_COMMANDS.html