View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014103CMakeCMakepublic2013-04-22 05:102013-04-23 05:02
ReporterMatthias Maier 
Assigned ToPeter Kuemmel 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0014103: Generator "Eclipse CDT4 - Ninja" does not write C++ Include paths into the generated .cproject file
DescriptionWhen 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0032923)
Matthias Maier (reporter)
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 (developer)
2013-04-23 05:02

Duplicate:
http://cmake.org/Bug/view.php?id=13606 [^]

 Issue History
Date Modified Username Field Change
2013-04-22 05:10 Matthias Maier New Issue
2013-04-22 16:15 Matthias Maier Note Added: 0032923
2013-04-23 05:02 Peter Kuemmel Note Added: 0032925
2013-04-23 05:02 Peter Kuemmel Status new => closed
2013-04-23 05:02 Peter Kuemmel Assigned To => Peter Kuemmel
2013-04-23 05:02 Peter Kuemmel Resolution open => duplicate


Copyright © 2000 - 2018 MantisBT Team