source: trunk/tools/assistant/lib/fulltextsearch/fulltextsearch.pro

Last change on this file was 846, checked in by Dmitry A. Kuminov, 14 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

File size: 1.4 KB
Line 
1
2QMAKE_TARGET_PRODUCT = QtCLucene
3QMAKE_TARGET_DESCRIPTION = QtCLucene full text search library wrapper.
4#if qt is built with frameworks in debug, we must build QtCLucene in debug and release
5#that's a similar logic as in qbase.pri
6mac:!static:contains(QT_CONFIG, qt_framework) {
7 CONFIG(debug, debug|release) {
8 !build_pass:CONFIG += build_all
9 }
10}
11QT_CONFIG -= qt_framework
12QT -= gui
13TEMPLATE = lib
14TARGET = QtCLucene
15os2:TARGET_SHORT = QtCLuc
16
17DEFINES += QHELP_LIB
18include(../../../../src/qbase.pri)
19include(fulltextsearch.pri)
20
21CONFIG += qt warn_off
22contains(QT_CONFIG, reduce_exports) {
23 CONFIG += hide_symbols
24 # workaround for compiler errors on Ubuntu
25 linux*-g++*:DEFINES += _GLIBCXX_EXTERN_TEMPLATE=0
26}
27
28unix:QMAKE_PKGCONFIG_REQUIRES = QtCore
29
30# impossible to disable exceptions in clucene atm
31CONFIG(exceptions_off) {
32 CONFIG -= exceptions_off
33 CONFIG += exceptions
34 !win32|win32-g++* {
35 QMAKE_CFLAGS -= -fno-exceptions
36 QMAKE_CXXFLAGS -= -fno-exceptions
37 QMAKE_LFLAGS -= -fno-exceptions
38 QMAKE_CFLAGS += -fexceptions
39 QMAKE_CXXFLAGS += -fexceptions
40 QMAKE_LFLAGS += -fexceptions
41 }
42}
43
44win32-msvc.net | win32-msvc2* {
45 QMAKE_CFLAGS_RELEASE -= -O2
46 QMAKE_CXXFLAGS_RELEASE -= -O2
47}
48
49# the following define could be set globally in case we need it elsewhere
50solaris* {
51 DEFINES += Q_SOLARIS_VERSION=$$system(uname -r | sed -e 's/5\\.//')
52}
Note: See TracBrowser for help on using the repository browser.