qt-interest@trolltech.com
[Top] [All Lists]

Re: Optimising a single file in a project using qmake

Subject: Re: Optimising a single file in a project using qmake
From: Andrei Yurkevich
Date: Fri, 23 Sep 2005 17:50:53 +0400
On Fri, 2005-09-23 at 12:41 +0100, Jason Wood wrote:

> I have an interesting problem. In a reasonably large software project, I
> want to be able to compile one file with optimization turned on (because
> in this file, performance matters), but the rest of the project should
> be compiled with optimisations off (for speed of compilation/development
> and debugging purposes).
> 
> Is there any way to achieve this with a qmake .pro file? I have looked
> at the qmake reference and cannot see an obvious way to do it.

The easy solution that first comes to mind is moving that file(s) to a
separate sub-directory with a separate .pro file there.

cheers,
Andrei

--
To unsubscribe - send "unsubscribe" in the body to 
qt-interest-request@xxxxxxxxxxxxx
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>