Warning, /education/gcompris/external/qml-box2d/box2d.pro is written in an unsupported language. File is not indexed.
0001 TEMPLATE = lib
0002 CONFIG += plugin
0003 QT += quick
0004 TARGET = $$qtLibraryTarget(Box2D)
0005 TARGETPATH = Box2D
0006 API_VER=2.0
0007 MOC_DIR = .moc
0008 OBJECTS_DIR = .obj
0009
0010 contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols
0011
0012 # Uncomment the line below to compile qml-box2d plugin with Box2D library, installed in OS
0013 # or pass the variable to qmake in command line:
0014 # qmake DEFINES+=BOX2D_SYSTEM
0015 # Warning: Box2D library must be already installed in system, for example in Debian it could be done with:
0016 # sudo apt-get install libbox2d-dev
0017
0018 #DEFINES += BOX2D_SYSTEM
0019
0020 include(box2d_lib.pri)
0021 include(examples/examples.pri)
0022
0023 importPath = $$[QT_INSTALL_QML]/$$replace(TARGETPATH, \\., /).$$API_VER
0024 target.path = $${importPath}
0025
0026 qmldir.path = $${importPath}
0027 qmldir.files += $$PWD/qmldir
0028
0029
0030 INSTALLS += target qmldir
0031
0032