[cmake-developers] [CMake 0014103]: Generator "Eclipse CDT4 - Ninja" does not write C++ Include paths into the generated .cproject file

Mantis Bug Tracker mantis at public.kitware.com
Mon Apr 22 05:10:13 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14103 
====================================================================== 
Reported By:                Matthias Maier
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14103
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-04-22 05:10 EDT
Last Modified:              2013-04-22 05:10 EDT
====================================================================== 
Summary:                    Generator "Eclipse CDT4 - Ninja" does not write C++
Include paths into the generated .cproject file
Description: 
When I run the "Eclipse CDT4 - Unix Makefiles" generator, I end up with the
following Includes in the generated .cproject file (shortened for better
readability):

<pathentry include="$PREFIX/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.2/include"
kind="inc" path="" system="true"/>
<pathentry include="$PREFIX/usr/include" kind="inc" path="" system="true"/>
<pathentry
include="$PREFIX/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.2/include-fixed"
kind="inc" path="" system="true"/>
<pathentry
include="$PREFIX/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4"
kind="inc" path="" system="true"/>
<pathentry
include="$PREFIX/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/x86_64-pc-linux-gnu"
kind="inc" path="" system="true"/>
<pathentry
include="$PREFIX/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/backward"
kind="inc" path="" system="true"/>

and indexing of C++ STL headers, as well as, resolving of STL containers/methods
works.

However, with the "Eclipse CDT4 - Ninja" generator I only get:

<pathentry include="$PREFIX/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.2/include"
kind="inc" path="" system="true"/>
<pathentry include="$PREFIX/usr/include" kind="inc" path="" system="true"/>
<pathentry
include="$PREFIX/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.2/include-fixed"
kind="inc" path="" system="true"/>

with the result that resolving STL headers fails.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-22 05:10 Matthias Maier New Issue                                    
======================================================================




More information about the cmake-developers mailing list