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 ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
