source: webkit/trunk/JavaScriptCore/jsc.pro@ 47780

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 
1TEMPLATE = app
2TARGET = jsc
3DESTDIR = .
4SOURCES = jsc.cpp
5QT -= gui
6CONFIG -= app_bundle
7CONFIG += building-libs
8win32-*: CONFIG += console
9win32-msvc*: CONFIG += exceptions_off stl_off
10
11include($$PWD/../WebKit.pri)
12
13CONFIG += link_pkgconfig
14
15QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
16
17isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/..
18CONFIG(debug, debug|release) {
19 OBJECTS_DIR = obj/debug
20} else { # Release
21 OBJECTS_DIR = obj/release
22}
23OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP}
24include($$PWD/JavaScriptCore.pri)
25
26lessThan(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.