diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/boost/tools/build/test/qt5/jamroot.jam | |
parent | Initial commit. (diff) | |
download | ceph-upstream.tar.xz ceph-upstream.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/build/test/qt5/jamroot.jam')
-rw-r--r-- | src/boost/tools/build/test/qt5/jamroot.jam | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/src/boost/tools/build/test/qt5/jamroot.jam b/src/boost/tools/build/test/qt5/jamroot.jam new file mode 100644 index 000000000..782922557 --- /dev/null +++ b/src/boost/tools/build/test/qt5/jamroot.jam @@ -0,0 +1,104 @@ +# (c) Copyright Juergen Hunold 2008 +# Use, modification, and distribution are subject to the +# Boost Software License, Version 1.0. (See accompanying file +# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +import qt5 ; +import testing ; +import cast ; + +path-constant CWD : . ; + + +if [ qt5.initialized ] +{ + use-project /boost : ../../../.. ; + + project qttest + : requirements + <library>/boost/test//boost_unit_test_framework + ; + + alias qt-tests : + # Check for explicit libraries, <use>/qt should not link any lib + [ link-fail qtcorefail.cpp : <use>/qt ] + + [ run qtcore.cpp /qt5//QtCore ] + [ run qtsql.cpp /qt5//QtSql ] + [ run qtxml.cpp /qt5//QtXml ] + [ run qtnetwork.cpp /qt5//QtNetwork ] + [ run qtscript.cpp /qt5//QtScript ] + [ run qtscripttools.cpp /qt5//QtScriptTools ] + [ run qtxmlpatterns.cpp /qt5//QtXmlPatterns ] + + [ run qtpositioning.cpp /qt5//QtPositioning ] + + # ToDo: runable example code + [ link qtsvg.cpp /qt5//QtSvg ] + [ link qtwidgets.cpp /qt5//QtWidgets ] + + # Multimedia toolkits. + [ link qtwebkit.cpp /qt5//QtWebKit ] + [ link qtwebkitwidgets.cpp /qt5//QtWebKitWidgets ] + [ link qtmultimedia.cpp /qt5//QtMultimedia ] + + # QtQuick version1 + [ link qtdeclarative.cpp /qt5//QtDeclarative ] + + # QtQuick version2 + [ run qtquick.cpp /qt5//QtQuick : "--" -platform offscreen : $(CWD)/qtquick.qml ] + + [ run qtwebengine.cpp /qt5//QtWebEngine ] + [ run qtwebenginewidgets.cpp /qt5//QtWebEngineWidgets ] + + # QtSerialPort + [ run qtserialport.cpp /qt5//QtSerialPort ] + + [ run qtlocation.cpp /qt5//QtLocation ] + + [ run qtwebchannel.cpp /qt5//QtWebChannel ] + [ run qtwebsockets.cpp /qt5//QtWebSockets ] + [ run qtwebview.cpp /qt5//QtWebView ] + + [ run qtpurchasing.cpp /qt5//QtPurchasing ] + + [ run qtcharts.cpp /qt5//QtCharts ] + + [ run qt3dcore.cpp /qt5//Qt3DCore ] + [ run qt3drender.cpp /qt5//Qt3DRender ] + [ run qt3dinput.cpp /qt5//Qt3DInput ] + [ run qt3dlogic.cpp /qt5//Qt3DLogic ] + + [ run qtdatavisualization.cpp /qt5//QtDataVisualization ] + + # Qt Connectivity + [ run qtbluetooth.cpp /qt5//QtBluetooth ] + [ run qtnfc.cpp /qt5//QtNfc ] + + [ run qtgamepad.cpp /qt5//QtGamepad ] + + [ run qtscxml.cpp /qt5//QtScxml ] + + [ run qtserialbus.cpp /qt5//QtSerialBus ] + + + # Help systems. + [ link qthelp.cpp /qt5//QtHelp ] + + # Testing using QtTest. Simple sample + # ToDo: better support for "automoc" aka '#include "qttest.moc"' + [ run qttest.cpp [ cast _ moccable5-cpp : qttest.cpp ] /qt5//QtTest : : : <define>TEST_MOCK ] + + # Test moc rule + [ run mock.cpp mock.h /qt5//QtCore : : : <define>TEST_MOCK ] + + # Test resource compiler + [ run rcc.cpp rcc.qrc /qt5//QtCore : : : <rccflags>"-compress 9 -threshold 10" ] + + : # requirements + : # default-build + : # usage-requirements + ; +} + + |