[Gloucs] make gcc switch

Paul Robertson gloucs at mailman.lug.org.uk
Sun Nov 24 20:12:00 2002


Guy,

Qt has a tool called qmake, which turns a project file into a makefile
appropriate for the OS/compiler/platform you are building for.

The project file lists the source files, the target, and some other stuff
such as CFLAGS and CXXFLAGS for the compiler.

http://doc.trolltech.com/3.1/qmake-manual.html

-- 
Paul

----- Original Message ----- 
From: "Guy Edwards" <guy_j_edwards@hotpop.com>
To: "MAILING LIST" <gloucs@mailman.lug.org.uk>
Sent: Sunday, November 24, 2002 4:55 PM
Subject: Re: [Gloucs] make gcc switch


> On Sun, 2002-11-24 at 16:14, Adam Langley wrote:
> > export CFLAGS="-pedantic ..."
> > 
> > is worth a shot, as is editing the generated Makefile and searching for
> > a line starting "CFLAGS = " and editing that.
> 
> Thanks Adam,
> 
> I'm with you up to this bit, but I am a pretty feeble programmer at the
> moment, I'm just testing someone else's code and was hoping to find some
> automated tools or simple switches to use. It's actually a reasonably
> complicated Qt program. 
> 
> I will knuckle down and google and research the rest of your post
> however so cheers for that.
> 
> Guy
> 
> 
> 
> _______________________________________________
> gloucs mailing list
> gloucs@mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/gloucs