]> git.saurik.com Git - apple/javascriptcore.git/blob - qt/tests/tests.pri
1ce238fd7ac1ef5c717848e4729af923c12ad190
[apple/javascriptcore.git] / qt / tests / tests.pri
1 isEmpty(OUTPUT_DIR) {
2 CONFIG(debug, debug|release) {
3 OUTPUT_DIR=$$PWD/WebKitBuild/Debug
4 } else { # Release
5 OUTPUT_DIR=$$PWD/WebKitBuild/Release
6 }
7 }
8
9
10 QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
11 QMAKE_LIBDIR = $$OUTPUT_DIR/lib $$QMAKE_LIBDIR
12 mac:!static:contains(QT_CONFIG, qt_framework):!CONFIG(webkit_no_framework) {
13 LIBS += -framework QtScript
14 QMAKE_FRAMEWORKPATH = $$OUTPUT_DIR/lib $$QMAKE_FRAMEWORKPATH
15 } else {
16 win32-*|wince* {
17 LIBS += -lQtScript$${QT_MAJOR_VERSION}
18 } else {
19 LIBS += -lQtScript
20 }
21 }
22
23 CONFIG(release, debug|release) {
24 DEFINES += NDEBUG
25 }
26
27 INCLUDEPATH += $$PWD/../api
28