MantisBT - CMake
View Issue Details
0014103CMakeCMakepublic2013-04-22 05:102013-04-23 05:02
Matthias Maier 
Peter Kuemmel 
normalminoralways
closedduplicate 
CMake 2.8.10.2 
 
0014103: Generator "Eclipse CDT4 - Ninja" does not write C++ Include paths into the generated .cproject file
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.
No tags attached.
Issue History
2013-04-22 05:10Matthias MaierNew Issue
2013-04-22 16:15Matthias MaierNote Added: 0032923
2013-04-23 05:02Peter KuemmelNote Added: 0032925
2013-04-23 05:02Peter KuemmelStatusnew => closed
2013-04-23 05:02Peter KuemmelAssigned To => Peter Kuemmel
2013-04-23 05:02Peter KuemmelResolutionopen => duplicate

Notes
(0032923)
Matthias Maier   
2013-04-22 16:15   
This is a duplicate of 0013606. Sorry for the noise.
Please close (I'm not allowed to mark my own reported issues as invalid?!).
(0032925)
Peter Kuemmel   
2013-04-23 05:02   
Duplicate:
http://cmake.org/Bug/view.php?id=13606 [^]