View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015850CMakeCMakepublic2015-11-17 18:212016-05-02 08:30
ReporterJonathan Doman 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSLinuxOS Version
Product VersionCMake 3.4 
Target VersionFixed in Version 
Summary0015850: Include flags are no longer part of exported compile commands database
DescriptionWhen using -DCMAKE_EXPORT_COMPILE_COMMANDS=1 option to generate compilation database, the include directory flags (e.g. -Ipath) are not output.
Steps To Reproduce1. 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.)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0039878)
Jonathan Doman (reporter)
2015-11-17 18:29

Actually, I think I reported too hastily. We still haven't been able to fix our actual build commands to account for <INCLUDES>, so it's expected that the database will have the same errors.

This can be closed.
(0040962)
Robert Maynard (manager)
2016-05-02 08:30

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-11-17 18:21 Jonathan Doman New Issue
2015-11-17 18:29 Jonathan Doman Note Added: 0039878
2015-11-18 08:49 Brad King Status new => resolved
2015-11-18 08:49 Brad King Resolution open => suspended
2016-05-02 08:30 Robert Maynard Note Added: 0040962
2016-05-02 08:30 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team