3 name: Mac universal binary support
5 arg: universal,Build with Mac universal binary support.
6 arg: mac-sdk=[path],Path to Mac universal SDK (PPC host only).
11 bool qc_universal_enabled = false;
12 QString qc_universal_sdk;
14 //----------------------------------------------------------------------------
16 //----------------------------------------------------------------------------
17 class qc_universal : public ConfObj
20 qc_universal(Conf *c) : ConfObj(c) {}
21 QString name() const { return "Mac universal binary support"; }
22 QString shortname() const { return "universal"; }
23 QString checkString() const { return QString(); }
28 if(qc_getenv("QC_UNIVERSAL") == "Y")
30 qc_universal_enabled = true;
33 "contains(QT_CONFIG,x86):contains(QT_CONFIG,ppc) {\n"
34 " CONFIG += x86 ppc\n"
37 QString sdk = qc_getenv("QC_MAC_SDK");
40 str += QString("QMAKE_MAC_SDK = %1\n").arg(sdk);
41 qc_universal_sdk = sdk;