Finish of porting to FreeBSD.
[qt-jambi:qt-jambi.git] / designer-integration / language / language.pro
1 TEMPLATE = lib
2 CONFIG  += qt warn_on plugin designer
3 TARGET = JambiLanguage
4
5 # Have to include after TARGET...
6 include($$PWD/../../qtjambi/qtjambi_include.pri)
7
8 HEADERS += \
9     jambilanguageplugin.h \
10         qtjambiintrospection_p.h \
11
12
13 SOURCES += \
14     jambilanguageplugin.cpp \
15     qtjambiintrospection.cpp \
16
17 win32-msvc.net{
18     QMAKE_CXXFLAGS += -Zm1000
19     QMAKE_CXXFLAGS -= -Zm200
20     QMAKE_CFLAGS -= -Zm200
21 }
22
23 RESOURCES += resources.qrc
24
25 INCLUDEPATH += $$PWD $$QTDIR/QtDesigner $$PWD/../include
26
27 freebsd-g++* {
28 QT_SOURCE_TREE=$$fromfile($$(QTDIR)/.qmake.cache,QT_SOURCE_TREE)
29 INCLUDEPATH += $$QT_SOURCE_TREE/include/Qt
30 }
31
32 # patch up some bad things set in qtjambi_include...
33 DESTDIR = ../../plugins/designer
34 macx:QMAKE_EXTENSION_SHLIB = dylib