[cmake-developers] [CMake 0015850]: Include flags are no longer part of exported compile commands database
Mantis Bug Tracker
mantis at public.kitware.com
Tue Nov 17 18:21:49 EST 2015
The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=15850
======================================================================
Reported By: Jonathan Doman
Assigned To:
======================================================================
Project: CMake
Issue ID: 15850
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-11-17 18:21 EST
Last Modified: 2015-11-17 18:21 EST
======================================================================
Summary: 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.)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-11-17 18:21 Jonathan Doman New Issue
======================================================================
More information about the cmake-developers
mailing list