auto-generate module pris
[profile/ivi/qtdeclarative.git] / src / particles / particles.pro
1 load(qt_module)
2
3 TARGET = QtQuickParticles
4
5 CONFIG += module
6 CONFIG += dll warn_on
7
8 QT = core-private gui-private qml-private quick-private
9
10 DEFINES   += QT_BUILD_QUICKPARTICLES_LIB QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES
11 win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS
12 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
13
14 exists("qqml_enable_gcov") {
15     QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
16     LIBS += -lgcov
17 }
18
19 MODULE = quickparticles
20 load(qt_module_config)
21
22 # private dependencies
23 QT += v8-private
24
25 include(particles.pri)
26
27 mac {
28     # FIXME: this is a workaround for broken qmake logic in qtAddModule()
29     # This function refuses to use frameworks unless the framework exists on
30     # the filesystem at the time qmake is run, resulting in a build failure
31     # if QtQuick is qmaked before QtQml is built and frameworks are
32     # in use. qtAddLibrary() contains correct logic to deal with this, so
33     # we'll explicitly call that for now.
34     load(qt)
35     LIBS -= -lQtQml        # in non-framework builds, these should be re-added
36     LIBS -= -lQtQml_debug  # within the qtAddLibrary if appropriate, so no
37     qtAddLibrary(QtQml)    # harm done :)
38     LIBS -= -lQtQuick
39     LIBS -= -lQtQuick_debug
40     qtAddLibrary(QtQuick)
41 }
42