Add -config profile to enable a gprof-capable build.
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 22 May 2008 19:04:36 +0000 (19:04 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 22 May 2008 19:04:36 +0000 (19:04 +0000)
build/buildconf.pri

index a5aa555..d10ba14 100644 (file)
@@ -27,3 +27,9 @@ mac:Tiger {
 sputdev {
   DEFINES *= SPUTDEV
 }
 sputdev {
   DEFINES *= SPUTDEV
 }
+
+profile {
+  CONFIG += debug
+  QMAKE_CXXFLAGS_DEBUG += -pg
+  QMAKE_LFLAGS_DEBUG += -pg
+}