View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0015850 | CMake | CMake | public | 2015-11-17 18:21 | 2016-05-02 08:30 |
|
Reporter | Jonathan Doman | |
Assigned To | | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | suspended | |
Platform | | OS | Linux | OS Version | |
Product Version | CMake 3.4 | |
Target Version | | Fixed in Version | | |
|
Summary | 0015850: Include flags are no longer part of exported compile commands database |
Description | When using -DCMAKE_EXPORT_COMPILE_COMMANDS=1 option to generate compilation database, the include directory flags (e.g. -Ipath) are not output. |
Steps To Reproduce | 1. cmake -G "Ninja" -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ...
2. Observe that compile_commands.json is generated, and the commands have a lot of flags but no -I include flags. |
Additional Information | (Possibly, this is related to the <FLAGS>/<INCLUDES> split in v3.4. This <INCLUDES> business has completely broken our cmake setup, but I guess it's mostly our fault for redefining compile command formats.) |
Tags | No tags attached. |
|
Attached Files | |
|