diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-11 03:51:08 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-11 14:04:42 +0200 |
commit | 45771671704f0ed09aec48777c12f0af388d1beb (patch) | |
tree | 26d167d58d718989cdf009f3ab1d3417e53d3034 /bitcoin-qt.pro | |
parent | 5d464a4a5552acd1fe7e6c9ba656f0d809ebcd44 (diff) |
Fix build.h dependencies
For Qt builds, the build.h file is moved to build/build.h. For regular
builds, it is moved to obj/build.h. This allows the Qt build to be done
in a different directory than the source, and without interfering with
other builds.
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r-- | bitcoin-qt.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index 6c8ebdc156..a3b42cdc2b 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -83,9 +83,9 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) { # regenerate src/build.h !windows || contains(USE_BUILD_INFO, 1) { genbuild.depends = FORCE - genbuild.commands = share/genbuild.sh src/build.h - genbuild.target = src/build.h - "src/version.cpp".depends += src/build.h + genbuild.commands = cd $$PWD; share/genbuild.sh $$OUT_PWD/build/build.h + genbuild.target = genbuildhook + PRE_TARGETDEPS += genbuildhook QMAKE_EXTRA_TARGETS += genbuild DEFINES += HAVE_BUILD_INFO } |