diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-29 16:59:15 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-29 16:59:15 +0200 |
commit | 364229a6ad4620ae89a210b3ea1d982a8ac86024 (patch) | |
tree | 32ecf768372c93633fc7babd487a61090c29bf34 /build | |
parent | 75142b15b96805d458aab77c1f40e97cdb7192b1 (diff) |
Support debug and release builds
Diffstat (limited to 'build')
-rw-r--r-- | build/build.pro | 5 |
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 |