Hi Jeremiah,
As of 3.0.2, there is a way for the user
to control the “command-line pattern”. The pattern can be edited
on the Tool Settings page. It still may not be as flexible as your customer
needs depending upon exactly what they want to do.
Leo
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Lott, Jeremiah
Sent: Wednesday, February 01, 2006
11:17 AM
To: CDT
General developers list.
Subject: RE: [cdt-dev] wxGTK
integration in Eclipse 3.1.1 problems!
Actually this will work, I think.
Since the back ticks will just get passed through and generated into the
makefile. Then when it is building, the shell is actually executing the
commands and it will interpret the backquotes. I believe we had a
customer who was doing this. He had problems later, however, because
CDT's default makefile generator always puts the extra linker flags before
$(OBJS) $(USER_OBJS) $(LIBS) and he needed it to appear after that. As
far as I know CDT does not allow the user to control this order.
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Nicolas ANTONIAZZI
Sent: Wednesday, February 01, 2006
5:24 AM
To: CDT
General developers list.
Subject: Re: [cdt-dev] wxGTK
integration in Eclipse 3.1.1 problems!
I don't think that it can
work at the moment. backquotes are interpreted by the shell program and
executed to get the string value returned by the command, it is not something
intepreted by g++.
I don't think that CDT can process backquote to replace it by the right value.
At the moment, the only thing that you can do is to manually execute wx-config
--cxxflags or wx-config --libs, get the string returned, and manually copy and
paste it in project compilation properties.
I don't know if backquote processing is planed in CDT. Maybe that an
enhancement request could be done in bugzilla for this feature.
Nicolas.
2006/1/31, kesselhaus@xxxxxxx
<kesselhaus@xxxxxxx>:
Why not adding the
`wx-config --cxxflags` into the Miscellaneous Tab at Compiler Project
settings
and
`wx-config --libs ` into the Tab Miscellaneous->"Linker Flags" for
the
Linker?
Or do the backquotes not work this way?
> --- Ursprüngliche Nachricht ---
> Von: Tamer Higazi <tamer23@xxxxxxxxxxxxx>
> An: "CDT General developers list."
< cdt-dev@xxxxxxxxxxx>
> Betreff: [cdt-dev] wxGTK integration in Eclipse 3.1.1 problems!
> Datum: Tue, 31 Jan 2006 00:13:48 +0000
>
> Hi!
> Usuallly to compile wxWidgets samples you need to to modify the project
> "g++" command to:
>
>
>
>
> g++ myfoo.cpp `wx-config --libs --cxxflags` -o myfoo
>
>
> Now the question to you guys is:
>
> Is in CDT a usrvariable that makes it possible for me to replace with
> myfoo.cpp ?!
>
> 1. I want of course CDT replaces the variable with the current c++ file
> which I want to compile. That would be great. Is that possible?
>
>
> g++ $VAR1 `wx-config --libs --cxxflags` -o $VAR2
>
> that $VAR1 is being replaced with the current C++ project file I want to
> compile and $VAR2 is the ouptut name.
>
> Like
> 2. Can I modify CDT to run the g++ command only, instaed after it
> "make"?! Because the g++ command automaticly creates this what I
want.
>
>
> for any help your side...
>
>
> Thank you
>
>
> Tamer
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
--
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev