Hi,

I have a pro file as
TEMPLATE = subdirs

DIRLIST = build32 build64 bar foo blah

for( dir, DIRLIST ): exists( $$dir ): SUBDIRS += $$dir
Where build32 is to build 32-bits exe, and build64 is for 64-bits. It works fine on a 64-bits machine. But when use 32-bits machine, qmake terminates with error (of course it doesn't support 64) when processing build64, and subsequent bar, foo, blah do not get built.

My question is how to write the script so that when in 32-bits machine, it skips build64 and continue on?

I have a flag in

build32: TARGET_BIT = m32
build64: TARGET_BIT = m64

How does the container get the flag and skip build64 when necessary?

Thanks