summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExportCompileCommands
Commit message (Collapse)AuthorAgeFilesLines
* Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile ruleBrad King2021-05-281-1/+2
| | | | | | | | | | Extend the fix from commit 67e2130c96 (Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule, 2020-11-20, v3.19.1~8^2) to work for the `<FLAGS>` placeholder too. Also fix the test case to actually enable `EXPORT_COMPILE_COMMANDS` on the test target. Fixes: #22261
* CMAKE_EXPORT_COMPILE_COMMANDS: allow configuration per targetShannon Booth2021-01-055-0/+69
| | | | | | | | 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
* Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile ruleBrad King2020-11-202-0/+6
| | | | Fixes: #21471
* Initialize CMAKE_EXPORT_COMPILE_COMMANDS only if not set alreadyBrad King2020-05-126-0/+14
Also de-duplicate its initialization code. Fixes: #16588