include(scenegraph/scenegraph.pri)
include(items/items.pri)
include(particles/particles.pri)
+include(v8/v8.pri)
symbian: {
TARGET.UID3=0x2001E623
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src
-macx:CONFIG(debug, debug|release) {
- QMAKE_LIBS_PRIVATE += -L../v8/ -lv8_debug
-} else {
- QMAKE_LIBS_PRIVATE += -L../v8/ -lv8
-}
-TEMPLATE = lib
-CONFIG += staticlib
-
-CONFIG += building-libs
-
-QT =
-
-win32|mac:!macx-xcode:CONFIG += debug_and_release
-macx:CONFIG(debug, debug|release) {
- TARGET = v8_debug
-}
-
equals(QT_ARCH, x86_64)|contains(CONFIG, x86_64):CONFIG += arch_x86_64
else:equals(QT_ARCH, "i386"):CONFIG += arch_i386
else:equals(QT_ARCH, "arm"):CONFIG += arch_arm
V8_GENERATED_SOURCES_DIR = generated
+DEFINES += V8_SHARED BUILDING_V8_SHARED
+
# this maybe removed in future
DEFINES += ENABLE_DEBUGGER_SUPPORT
V8DIR = $$(V8DIR)
isEmpty(V8DIR) {
- V8DIR = $$PWD/../3rdparty/v8
+ V8DIR = $$PWD/../../3rdparty/v8
} else {
message(using external V8 from $$V8DIR)
}
TEMPLATE = subdirs
CONFIG += ordered
-SUBDIRS += v8 declarative qtquick1 plugins
+SUBDIRS += declarative qtquick1 plugins
contains(QT_CONFIG, qmltest): SUBDIRS += qmltest
SUBDIRS += imports
release-m32:
- g++ -o v8test_release_m32 -m32 -O2 v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8
+ g++ -o v8test_release_m32 -m32 -O2 v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8
debug-m32:
- g++ -o v8test_debug_m32 -m32 -g v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8_g
+ g++ -o v8test_debug_m32 -m32 -g v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8_g
release:
- g++ -o v8test_release -O2 v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8
+ g++ -o v8test_release -O2 v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8
debug:
- g++ -o v8test_debug -g v8main.cpp v8test.cpp -L../../../../src/3rdparty/v8/ -lv8_g
+ g++ -o v8test_debug -g v8main.cpp v8test.cpp -lpthread -L../../../../src/3rdparty/v8/ -lv8_g
CONFIG += parallel_test
-LIBS += -L../../../../src/v8/
-macx:CONFIG(debug, debug|release) {
- LIBS += -lv8_debug
-} else {
- LIBS += -lv8
-}
-
+QT += declarative
+DEFINES += USING_V8_SHARED