Last change
on this file since 47780 was 46114, checked in by Simon Hausmann, 16 years ago |
2009-07-20 Csaba Osztrogonac <[email protected]>
Reviewed by Simon Hausmann.
Qt build fix with MSVC and MinGW.
- jsc.pro: Make sure jsc is a console application, and turn off
exceptions and stl support to fix the build.
|
File size:
679 bytes
|
Line | |
---|
1 | TEMPLATE = app
|
---|
2 | TARGET = jsc
|
---|
3 | DESTDIR = .
|
---|
4 | SOURCES = jsc.cpp
|
---|
5 | QT -= gui
|
---|
6 | CONFIG -= app_bundle
|
---|
7 | CONFIG += building-libs
|
---|
8 | win32-*: CONFIG += console
|
---|
9 | win32-msvc*: CONFIG += exceptions_off stl_off
|
---|
10 |
|
---|
11 | include($$PWD/../WebKit.pri)
|
---|
12 |
|
---|
13 | CONFIG += link_pkgconfig
|
---|
14 |
|
---|
15 | QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
|
---|
16 |
|
---|
17 | isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/..
|
---|
18 | CONFIG(debug, debug|release) {
|
---|
19 | OBJECTS_DIR = obj/debug
|
---|
20 | } else { # Release
|
---|
21 | OBJECTS_DIR = obj/release
|
---|
22 | }
|
---|
23 | OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP}
|
---|
24 | include($$PWD/JavaScriptCore.pri)
|
---|
25 |
|
---|
26 | lessThan(QT_MINOR_VERSION, 4) {
|
---|
27 | DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
|
---|
28 | }
|
---|
29 |
|
---|
30 | *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
|
---|
31 | *-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
|
---|
Note:
See
TracBrowser
for help on using the repository browser.