<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Oleh,<br>
<br>
is there any way you can find out what the order of include paths is
that eclipse is using?<br>
It seems to differ from the one used by g++. <br>
<br>
So for example if I compile something in dune-grid-howto the compile
command used is<br>
<br>
g++ -std=c++0x -DHAVE_CONFIG_H -I.
-I/home/maths/masjal/DUNE/dune-common
-I/home/maths/masjal/DUNE/dune-grid ....<br>
<br>
So the first include path is . and that is where the first config.h is
found and therefore used. <br>
eclipse seems to use a different ordering?<br>
<br>
Best<br>
Andreas<br>
<br>
On 26/11/10 13:08, Oleh Krehel wrote:
<blockquote
cite="mid:AANLkTik1eakcsuPhC+XJAsmDZ0+UW5SUd_+uN4cdue7V@mail.gmail.com"
type="cite">Hi Christian,<br>
<br>
I have downloaded the plugin that you have suggested but all it seems
to do is just highlight the syntax for Makefile.am:)<br>
eclipse handles Makefile.am pretty well without this plugin.<br>
As I see it, eclipse doesn't use it's own build system to generate
Makefiles, it just issues the "make all" command.<br>
I edited Makefile.am to add a new source file, eclipse automatically
regenerated the makefile and properly compiled the project.<br>
<br>
regards,<br>
Oleh<br>
<br>
<div class="gmail_quote">2010/11/26 Christian Engwer <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:christi@uni-hd.de">christi@uni-hd.de</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Oleh,<br>
<div class="im"><br>
> I'm using eclipse cdt 7.0.1.<br>
> When it takes over the automake project created by dunecontrol,<br>
> everything(except proper code completion) works out of the box.<br>
<br>
</div>
cdt uses it's own build-system to generate Makefiles (at least the<br>
lastime I tested it). That was the reason for the Makefile &
autotools<br>
extensions. Perhaps the autotools extension might solve your problem!?<br>
<font color="#888888"><br>
Christian<br>
<br>
</font></blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<br>
</body>
</html>