summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-04-29 16:59:15 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-29 16:59:15 +0200
commit364229a6ad4620ae89a210b3ea1d982a8ac86024 (patch)
tree32ecf768372c93633fc7babd487a61090c29bf34 /build
parent75142b15b96805d458aab77c1f40e97cdb7192b1 (diff)
Support debug and release builds
Diffstat (limited to 'build')
-rw-r--r--build/build.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/build.pro b/build/build.pro
index 279823371..f869aee89 100644
--- a/build/build.pro
+++ b/build/build.pro
@@ -13,8 +13,9 @@ GYP_OUTPUT = $$system(./gyp_blinq)
message($$GYP_OUTPUT)
ninja.target = ninja
-# FIXME: Don't hardcode Release... might be tricky to get right if we also don't want to hardcode 'out'
-ninja.commands = $$CHROMIUM_SRC_DIR/../depot_tools/ninja -C $$BLINQ_ROOT/out/Release
+ninja.commands = $$CHROMIUM_SRC_DIR/../depot_tools/ninja -C
+CONFIG(debug, debug|release): ninja.commands += $$BLINQ_ROOT/out/Debug
+else: ninja.commands += $$BLINQ_ROOT/out/Release
ninja.depends: qmake
QMAKE_EXTRA_TARGETS += ninja