summaryrefslogtreecommitdiffstats
path: root/src/tools/mkv8snapshot/mkv8snapshot.pro
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-11-24 08:01:08 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-24 16:46:15 +0100
commit502b5b81784bd683b0571b1d72e76b3d786b98e1 (patch)
tree7fcd013623bd015498b6eaea36caabf974ae95c7 /src/tools/mkv8snapshot/mkv8snapshot.pro
parent722cbfe7384aa5692af4c3f03b562082fadcb93c (diff)
Make v8 snapshots work in debug-and-release mode
Debug snapshots and release snapshots aren't compatible. Both a debug version and release version of the mkv8snapshot tool must be built, and the corresponding executable selected when building v8. Adopt the library naming convention for naming the mkv8snapshot executable ("mkv8snapshot" in release, "mkv8snapshot_debug" in debug on Mac, "mkv8snapshotd" in debug on Windows). Change-Id: I7a94b09e7db7ed8bbaa293637c092a1d1d1dbaba Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/tools/mkv8snapshot/mkv8snapshot.pro')
-rw-r--r--src/tools/mkv8snapshot/mkv8snapshot.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/mkv8snapshot/mkv8snapshot.pro b/src/tools/mkv8snapshot/mkv8snapshot.pro
index 8e80ce2635..8070b5426b 100644
--- a/src/tools/mkv8snapshot/mkv8snapshot.pro
+++ b/src/tools/mkv8snapshot/mkv8snapshot.pro
@@ -11,6 +11,11 @@ DEPENDPATH += .
LIBS =
OBJECTS_DIR = .
+contains(QT_CONFIG, build_all): CONFIG += build_all
+win32|mac:!macx-xcode: CONFIG += debug_and_release
+
+TARGET = $$TARGET$$qtPlatformTargetSuffix()
+
cross_compile {
equals(QT_ARCH, arm): V8_TARGET_ARCH = arm
}