X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=build%2Fbuildconf.pri;h=d10ba142485e4eafb582a491d6e40319011a8317;hp=25d9928f759e2a375b30f8851dd864043935328d;hb=51d4c8e6eabe0015578a9543e007df5995ea2972;hpb=a2bf6dec2ea5a72d15a3310f8a7abc11988228c4 diff --git a/build/buildconf.pri b/build/buildconf.pri index 25d9928f..d10ba142 100644 --- a/build/buildconf.pri +++ b/build/buildconf.pri @@ -1,10 +1,14 @@ +# 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 { @@ -23,3 +27,9 @@ mac:Tiger { sputdev { DEFINES *= SPUTDEV } + +profile { + CONFIG += debug + QMAKE_CXXFLAGS_DEBUG += -pg + QMAKE_LFLAGS_DEBUG += -pg +}