CMake: Make qt3d tests standalone projects
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.
Boilerplate was added using the following scripts:
https://git.qt.io/alcroito/cmake_refactor
Manual adjustments were made where the code was inserted in the wrong
location.
render/opengl tests were omitted because they include other files
that make the tests non-standalone.
Task-number: QTBUG-93020
Change-Id: I3c7e2ca8dafc15acfe909aad3fa60300ac9db525
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
| commit | 5943d24770bfb4eb9ccde8b56259793957eb33c5 |
| parent | d5e63a75d1a83a7ac8889f1a15a9cd234c812b4a |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Thu, 6 Jul 2023 18:39:04 +0200 |
- M tests/auto/animation/additiveclipblend/CMakeLists.txt
- M tests/auto/animation/animationclip/CMakeLists.txt
- M tests/auto/animation/animationutils/CMakeLists.txt
- M tests/auto/animation/bezierevaluator/CMakeLists.txt
- M tests/auto/animation/blendedclipanimator/CMakeLists.txt
- M tests/auto/animation/channelmapper/CMakeLists.txt
- M tests/auto/animation/channelmapping/CMakeLists.txt
- M tests/auto/animation/clipanimator/CMakeLists.txt
- M tests/auto/animation/clipblendnode/CMakeLists.txt
- M tests/auto/animation/clipblendnodemanager/CMakeLists.txt
- M tests/auto/animation/clipblendnodevisitor/CMakeLists.txt
- M tests/auto/animation/clipblendvalue/CMakeLists.txt
- M tests/auto/animation/clock/CMakeLists.txt
- M tests/auto/animation/fcurve/CMakeLists.txt
- M tests/auto/animation/findrunningclipanimatorsjob/CMakeLists.txt
- M tests/auto/animation/functionrangefinder/CMakeLists.txt
- M tests/auto/animation/lerpclipblend/CMakeLists.txt
- M tests/auto/animation/qabstractanimation/CMakeLists.txt
- M tests/auto/animation/qadditiveclipblend/CMakeLists.txt
- M tests/auto/animation/qanimationaspect/CMakeLists.txt
- M tests/auto/animation/qanimationcliploader/CMakeLists.txt
- M tests/auto/animation/qanimationcontroller/CMakeLists.txt
- M tests/auto/animation/qanimationgroup/CMakeLists.txt
- M tests/auto/animation/qblendedclipanimator/CMakeLists.txt
- M tests/auto/animation/qcallbackmapping/CMakeLists.txt
- M tests/auto/animation/qchannelmapper/CMakeLists.txt
- M tests/auto/animation/qchannelmapping/CMakeLists.txt
- M tests/auto/animation/qclipanimator/CMakeLists.txt
- M tests/auto/animation/qclipblendvalue/CMakeLists.txt
- M tests/auto/animation/qclock/CMakeLists.txt
- M tests/auto/animation/qkeyframeanimation/CMakeLists.txt
- M tests/auto/animation/qlerpclipblend/CMakeLists.txt
- M tests/auto/animation/qmorphinganimation/CMakeLists.txt
- M tests/auto/animation/qmorphtarget/CMakeLists.txt
- M tests/auto/animation/qskeletonmapping/CMakeLists.txt
- M tests/auto/animation/qvertexblendanimation/CMakeLists.txt
- M tests/auto/animation/skeleton/CMakeLists.txt
- M tests/auto/core/aspectcommanddebugger/CMakeLists.txt
- M tests/auto/core/handle/CMakeLists.txt
- M tests/auto/core/matrix4x4_sse/CMakeLists.txt
- M tests/auto/core/nodes/CMakeLists.txt
- M tests/auto/core/qarmature/CMakeLists.txt
- M tests/auto/core/qaspectengine/CMakeLists.txt
- M tests/auto/core/qaspectfactory/CMakeLists.txt
- M tests/auto/core/qaspectjob/CMakeLists.txt
- M tests/auto/core/qchangearbiter/CMakeLists.txt
- M tests/auto/core/qentity/CMakeLists.txt
- M tests/auto/core/qjoint/CMakeLists.txt
- M tests/auto/core/qresourcemanager/CMakeLists.txt
- M tests/auto/core/qscene/CMakeLists.txt
- M tests/auto/core/qscheduler/CMakeLists.txt
- M tests/auto/core/qservicelocator/CMakeLists.txt
- M tests/auto/core/qskeleton/CMakeLists.txt
- M tests/auto/core/qskeletonloader/CMakeLists.txt
- M tests/auto/core/qtransform/CMakeLists.txt
- M tests/auto/core/threadpooler/CMakeLists.txt
- M tests/auto/core/vector3d_base/CMakeLists.txt
- M tests/auto/core/vector3d_sse/CMakeLists.txt
- M tests/auto/core/vector4d_base/CMakeLists.txt
- M tests/auto/core/vector4d_sse/CMakeLists.txt
- M tests/auto/extras/qcuboidgeometry/CMakeLists.txt
- M tests/auto/extras/qfirstpersoncameracontroller/CMakeLists.txt
- M tests/auto/extras/qforwardrenderer/CMakeLists.txt
- M tests/auto/extras/qorbitcameracontroller/CMakeLists.txt
- M tests/auto/extras/qtext2dentity/CMakeLists.txt
- M tests/auto/extras/qtorusgeometry/CMakeLists.txt
- M tests/auto/geometryloaders/objgeometryloader/CMakeLists.txt
- M tests/auto/global/aspects_startup_shutdown/CMakeLists.txt
- M tests/auto/input/abstractaxisinput/CMakeLists.txt
- M tests/auto/input/action/CMakeLists.txt
- M tests/auto/input/actioninput/CMakeLists.txt
- M tests/auto/input/analogaxisinput/CMakeLists.txt
- M tests/auto/input/axis/CMakeLists.txt
- M tests/auto/input/axisaccumulator/CMakeLists.txt
- M tests/auto/input/axisaccumulatorjob/CMakeLists.txt
- M tests/auto/input/buttonaxisinput/CMakeLists.txt
- M tests/auto/input/inputchord/CMakeLists.txt
- M tests/auto/input/inputsequence/CMakeLists.txt
- M tests/auto/input/keyboardhandler/CMakeLists.txt
- M tests/auto/input/loadproxydevicejob/CMakeLists.txt
- M tests/auto/input/logicaldevice/CMakeLists.txt
- M tests/auto/input/mousedevice/CMakeLists.txt
- M tests/auto/input/physicaldeviceproxy/CMakeLists.txt
- M tests/auto/input/qabstractaxisinput/CMakeLists.txt
- M tests/auto/input/qabstractphysicaldevicebackendnode/CMakeLists.txt
- M tests/auto/input/qabstractphysicaldeviceproxy/CMakeLists.txt
- M tests/auto/input/qaction/CMakeLists.txt
- M tests/auto/input/qactioninput/CMakeLists.txt
- M tests/auto/input/qanalogaxisinput/CMakeLists.txt
- M tests/auto/input/qaxis/CMakeLists.txt
- M tests/auto/input/qaxisaccumulator/CMakeLists.txt
- M tests/auto/input/qbuttonaxisinput/CMakeLists.txt
- M tests/auto/input/qkeyboardhandler/CMakeLists.txt
- M tests/auto/input/qlogicaldevice/CMakeLists.txt
- M tests/auto/input/qmousedevice/CMakeLists.txt
- M tests/auto/input/qmouseevent/CMakeLists.txt
- M tests/auto/input/utils/CMakeLists.txt
- M tests/auto/quick3d/3dcore/CMakeLists.txt
- M tests/auto/quick3d/3dinput/CMakeLists.txt
- M tests/auto/quick3d/3drender/CMakeLists.txt
- M tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt
- M tests/auto/quick3d/quick3dbuffer/CMakeLists.txt
- M tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt
- M tests/auto/render/alignedresourcesmanagers-sse/CMakeLists.txt
- M tests/auto/render/armature/CMakeLists.txt
- M tests/auto/render/aspect/CMakeLists.txt
- M tests/auto/render/attribute/CMakeLists.txt
- M tests/auto/render/blitframebuffer/CMakeLists.txt
- M tests/auto/render/boundingsphere/CMakeLists.txt
- M tests/auto/render/boundingvolumedebug/CMakeLists.txt
- M tests/auto/render/buffer/CMakeLists.txt
- M tests/auto/render/computecommand/CMakeLists.txt
- M tests/auto/render/coordinatereader/CMakeLists.txt
- M tests/auto/render/ddstextures/CMakeLists.txt
- M tests/auto/render/effect/CMakeLists.txt
- M tests/auto/render/entity/CMakeLists.txt
- M tests/auto/render/filterentitybycomponent/CMakeLists.txt
- M tests/auto/render/filterkey/CMakeLists.txt
- M tests/auto/render/framegraphnode/CMakeLists.txt
- M tests/auto/render/framegraphvisitor/CMakeLists.txt
- M tests/auto/render/genericlambdajob/CMakeLists.txt
- M tests/auto/render/geometry/CMakeLists.txt
- M tests/auto/render/geometryloaders/CMakeLists.txt
- M tests/auto/render/geometryrenderer/CMakeLists.txt
- M tests/auto/render/gltexture/CMakeLists.txt
- M tests/auto/render/gltfplugins/CMakeLists.txt
- M tests/auto/render/joint/CMakeLists.txt
- M tests/auto/render/ktxtextures/CMakeLists.txt
- M tests/auto/render/layerfiltering/CMakeLists.txt
- M tests/auto/render/levelofdetail/CMakeLists.txt
- M tests/auto/render/loadscenejob/CMakeLists.txt
- M tests/auto/render/material/CMakeLists.txt
- M tests/auto/render/memorybarrier/CMakeLists.txt
- M tests/auto/render/meshfunctors/CMakeLists.txt
- M tests/auto/render/objectpicker/CMakeLists.txt
- M tests/auto/render/parameter/CMakeLists.txt
- M tests/auto/render/pickboundingvolumejob/CMakeLists.txt
- M tests/auto/render/picking/CMakeLists.txt
- M tests/auto/render/proximityfilter/CMakeLists.txt
- M tests/auto/render/proximityfiltering/CMakeLists.txt
- M tests/auto/render/qabstractlight/CMakeLists.txt
- M tests/auto/render/qabstracttexture/CMakeLists.txt
- M tests/auto/render/qabstracttextureimage/CMakeLists.txt
- M tests/auto/render/qattribute/CMakeLists.txt
- M tests/auto/render/qblitframebuffer/CMakeLists.txt
- M tests/auto/render/qboundingvolumedebug/CMakeLists.txt
- M tests/auto/render/qbuffer/CMakeLists.txt
- M tests/auto/render/qcamera/CMakeLists.txt
- M tests/auto/render/qcameralens/CMakeLists.txt
- M tests/auto/render/qcameraselector/CMakeLists.txt
- M tests/auto/render/qclearbuffers/CMakeLists.txt
- M tests/auto/render/qcomputecommand/CMakeLists.txt
- M tests/auto/render/qdispatchcompute/CMakeLists.txt
- M tests/auto/render/qeffect/CMakeLists.txt
- M tests/auto/render/qenvironmentlight/CMakeLists.txt
- M tests/auto/render/qfilterkey/CMakeLists.txt
- M tests/auto/render/qframegraphnode/CMakeLists.txt
- M tests/auto/render/qgeometry/CMakeLists.txt
- M tests/auto/render/qgeometryrenderer/CMakeLists.txt
- M tests/auto/render/qgraphicsapifilter/CMakeLists.txt
- M tests/auto/render/qlayerfilter/CMakeLists.txt
- M tests/auto/render/qlevelofdetail/CMakeLists.txt
- M tests/auto/render/qmaterial/CMakeLists.txt
- M tests/auto/render/qmemorybarrier/CMakeLists.txt
- M tests/auto/render/qmesh/CMakeLists.txt
- M tests/auto/render/qobjectpicker/CMakeLists.txt
- M tests/auto/render/qparameter/CMakeLists.txt
- M tests/auto/render/qproximityfilter/CMakeLists.txt
- M tests/auto/render/qray3d/CMakeLists.txt
- M tests/auto/render/qraycaster/CMakeLists.txt
- M tests/auto/render/qrendercapture/CMakeLists.txt
- M tests/auto/render/qrenderpass/CMakeLists.txt
- M tests/auto/render/qrenderpassfilter/CMakeLists.txt
- M tests/auto/render/qrendersettings/CMakeLists.txt
- M tests/auto/render/qrenderstate/CMakeLists.txt
- M tests/auto/render/qrenderstateset/CMakeLists.txt
- M tests/auto/render/qrendersurfaceselector/CMakeLists.txt
- M tests/auto/render/qrendertarget/CMakeLists.txt
- M tests/auto/render/qrendertargetoutput/CMakeLists.txt
- M tests/auto/render/qrendertargetselector/CMakeLists.txt
- M tests/auto/render/qscene2d/CMakeLists.txt
- M tests/auto/render/qsceneloader/CMakeLists.txt
- M tests/auto/render/qscreenraycaster/CMakeLists.txt
- M tests/auto/render/qsetfence/CMakeLists.txt
- M tests/auto/render/qshaderimage/CMakeLists.txt
- M tests/auto/render/qshaderprogram/CMakeLists.txt
- M tests/auto/render/qshaderprogrambuilder/CMakeLists.txt
- M tests/auto/render/qsharedgltexture/CMakeLists.txt
- M tests/auto/render/qsortpolicy/CMakeLists.txt
- M tests/auto/render/qtechnique/CMakeLists.txt
- M tests/auto/render/qtechniquefilter/CMakeLists.txt
- M tests/auto/render/qtexturedataupdate/CMakeLists.txt
- M tests/auto/render/qtextureimage/CMakeLists.txt
- M tests/auto/render/qtextureimagedata/CMakeLists.txt
- M tests/auto/render/qtextureloader/CMakeLists.txt
- M tests/auto/render/qviewport/CMakeLists.txt
- M tests/auto/render/qwaitfence/CMakeLists.txt
- M tests/auto/render/raycaster/CMakeLists.txt
- M tests/auto/render/raycasting/CMakeLists.txt
- M tests/auto/render/raycastingjob/CMakeLists.txt
- M tests/auto/render/rendercapture/CMakeLists.txt
- M tests/auto/render/renderpass/CMakeLists.txt
- M tests/auto/render/rendertarget/CMakeLists.txt
- M tests/auto/render/rhi/rhi_graphicspipelinemanager/CMakeLists.txt
- M tests/auto/render/rhi/rhi_rendercommands/CMakeLists.txt
- M tests/auto/render/rhi/rhi_renderviews/CMakeLists.txt
- M tests/auto/render/scene2d/CMakeLists.txt
- M tests/auto/render/sceneloader/CMakeLists.txt
- M tests/auto/render/segmentvisitor/CMakeLists.txt
- M tests/auto/render/setfence/CMakeLists.txt
- M tests/auto/render/shader/CMakeLists.txt
- M tests/auto/render/shaderbuilder/CMakeLists.txt
- M tests/auto/render/shadergraph/qshadergenerator/CMakeLists.txt
- M tests/auto/render/shadergraph/qshadergraph/CMakeLists.txt
- M tests/auto/render/shadergraph/qshadergraphloader/CMakeLists.txt
- M tests/auto/render/shadergraph/qshadernodes/CMakeLists.txt
- M tests/auto/render/shadergraph/qshadernodesloader/CMakeLists.txt
- M tests/auto/render/shaderimage/CMakeLists.txt
- M tests/auto/render/skeleton/CMakeLists.txt
- M tests/auto/render/sortpolicy/CMakeLists.txt
- M tests/auto/render/technique/CMakeLists.txt
- M tests/auto/render/texture/CMakeLists.txt
- M tests/auto/render/transform/CMakeLists.txt
- M tests/auto/render/triangleboundingvolume/CMakeLists.txt
- M tests/auto/render/trianglevisitor/CMakeLists.txt
- M tests/auto/render/uniform/CMakeLists.txt
- M tests/auto/render/updateshaderdatatransformjob/CMakeLists.txt
- M tests/auto/render/vsyncframeadvanceservice/CMakeLists.txt
- M tests/auto/render/waitfence/CMakeLists.txt