summaryrefslogtreecommitdiffstats
path: root/src/tools/mkv8snapshot/mkv8snapshot.pro
blob: 8070b5426b9370c825b2e8d69f97062e315715bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TEMPLATE        = app
TARGET          = mkv8snapshot
QT              =
CONFIG          -= app_bundle
CONFIG          -= qt
CONFIG          += console

DESTDIR         = ../../../bin
INCLUDEPATH     += .
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
}

include(../../v8/v8.pri)

cross_compile {
    equals(V8_TARGET_ARCH, arm): SOURCES += $$V8SRC/arm/simulator-arm.cc
}

SOURCES += \
    $$V8SRC/snapshot-empty.cc \
    $$V8SRC/mksnapshot.cc

unix:LIBS += -lpthread

# We don't need to install this tool, it's only used for building v8.