[Qt-interest] qmake and per-file QMAKE_CXXFLAGS?

andrew.m.goth at l-3com.com andrew.m.goth at l-3com.com
Mon Feb 23 22:26:29 CET 2009


Dave Thorup wrote:
> I'm wondering if it's possible to define QMAKE_CXXFLAGS flags 
> on a per-file basis instead of defining it for the entire project

I don't know how to do this with qmake, but with ordinary make you can
use per-rule variables.

CXXFLAGS += -O3
file1.o file2.o: CXXFLAGS += -msse2

-- 
Andy Goth
<amgoth at link.com>




More information about the Qt-interest-old mailing list