X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=build%2Fbuildconf.pri;h=d10ba142485e4eafb582a491d6e40319011a8317;hp=a82675a1a0caac16b12e6e405ce20b8cb0da3664;hb=c8f0fad36b10552494f8ec3c3a45b52a3f0d2663;hpb=c1774395e9cafffbb35418545df07490fba890d5 diff --git a/build/buildconf.pri b/build/buildconf.pri index a82675a1..d10ba142 100644 --- a/build/buildconf.pri +++ b/build/buildconf.pri @@ -1,12 +1,35 @@ +# This file contains global build settings. Note that you can add stuff to CONFIG +# by using qmake -config stuff +# Notable examples: +# +# -config debug (or release or debug_and_release) +# -config verbose (to enable verbose compiling) + CONFIG += warn_on uic resources qt silent -# CONFIG += incremental link_prl nostrip qt_no_framework -release { - CONFIG *= release strip -} else { - CONFIG *= debug +verbose { + CONFIG -= silent +} + +win32 { + static { + CONFIG = release warn_on uic resources qt windows static + } else { + CONFIG = warn_on uic resources qt silent windows + } +} + +mac:Tiger { + QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk + CONFIG += x86 ppc +} + +sputdev { + DEFINES *= SPUTDEV } -win32:static { - CONFIG = release warn_on uic resources qt windows static +profile { + CONFIG += debug + QMAKE_CXXFLAGS_DEBUG += -pg + QMAKE_LFLAGS_DEBUG += -pg }