| 1 | { |
| 2 | "module": "3dcore", |
| 3 | "depends": [ |
| 4 | "gui" |
| 5 | ], |
| 6 | "condition": "module.gui && features.opengl && !config.wasm", |
| 7 | "testDir": "../../config.tests", |
| 8 | |
| 9 | "commandline": { |
| 10 | "options": { |
| 11 | "qt3d-assimp": { "type": "enum", "values": [ "qt", "system", "no" ] }, |
| 12 | "qt3d-render": "boolean", |
| 13 | "qt3d-input": "boolean", |
| 14 | "qt3d-logic": "boolean", |
| 15 | "qt3d-extras": "boolean", |
| 16 | "qt3d-animation": "boolean", |
| 17 | "qt3d-simd": { "type": "optionalString", "values": [ "no", "sse2", "avx2" ] } |
| 18 | } |
| 19 | }, |
| 20 | |
| 21 | "libraries": { |
| 22 | "qt3d-assimp": { |
| 23 | "label": "Assimp", |
| 24 | "test": "assimp", |
| 25 | "sources": [ |
| 26 | { "type": "pkgConfig", "args": "assimp > 3.3.1" }, |
| 27 | "-lassimp" |
| 28 | ] |
| 29 | } |
| 30 | }, |
| 31 | |
| 32 | "features": { |
| 33 | "qt3d-assimp": { |
| 34 | "label": "Assimp", |
| 35 | "output": [ "privateFeature", "feature" ] |
| 36 | }, |
| 37 | "qt3d-system-assimp": { |
| 38 | "label": "System Assimp", |
| 39 | "enable": "input.assimp == 'system'", |
| 40 | "disable": "input.assimp == 'qt'", |
| 41 | "condition": "features.qt3d-assimp && libs.qt3d-assimp", |
| 42 | "output": [ "privateFeature" ] |
| 43 | }, |
| 44 | "qt3d-render": { |
| 45 | "label": "Render aspect", |
| 46 | "purpose": "Use the 3D Render Aspect library", |
| 47 | "section": "Aspects", |
| 48 | "output": [ "publicFeature" ] |
| 49 | }, |
| 50 | "qt3d-input": { |
| 51 | "label": "Input aspect", |
| 52 | "purpose": "Use the 3D Input Aspect library", |
| 53 | "section": "Aspects", |
| 54 | "output": [ "publicFeature" ] |
| 55 | }, |
| 56 | "qt3d-logic": { |
| 57 | "label": "Logic aspect", |
| 58 | "purpose": "Use the 3D Logic Aspect library", |
| 59 | "section": "Aspects", |
| 60 | "output": [ "publicFeature" ] |
| 61 | }, |
| 62 | "qt3d-extras": { |
| 63 | "label": "Extras aspect", |
| 64 | "purpose": "Use the 3D Extra library", |
| 65 | "section": "Aspects", |
| 66 | "condition": "features.qt3d-render && features.qt3d-input && features.qt3d-logic", |
| 67 | "output": [ "publicFeature" ] |
| 68 | }, |
| 69 | "qt3d-animation": { |
| 70 | "label": "Animation aspect", |
| 71 | "purpose": "Use the 3D Animation Aspect library", |
| 72 | "section": "Aspects", |
| 73 | "condition": "features.qt3d-render", |
| 74 | "output": [ "publicFeature" ] |
| 75 | }, |
| 76 | "qt3d-simd-sse2": { |
| 77 | "label": "Use SSE2 instructions", |
| 78 | "purpose": "Use SSE2 SIMD instructions to accelerate matrix operations", |
| 79 | "autoDetect": "features.sse2", |
| 80 | "enable": "input.qt3d-simd == 'sse2' || input.qt3d-simd == 'avx2'", |
| 81 | "disable": "input.qt3d-simd == 'no' || arch.i386", |
| 82 | "output": [ "privateFeature" ] |
| 83 | }, |
| 84 | "qt3d-simd-avx2": { |
| 85 | "label": "Use AVX2 instructions", |
| 86 | "purpose": "Use AVX2 SIMD instructions to accelerate matrix operations", |
| 87 | "autoDetect": "subarch.avx2", |
| 88 | "enable": "input.qt3d-simd == 'avx2'", |
| 89 | "disable": "input.qt3d-simd == 'sse2' || input.qt3d-simd == 'no' || arch.i386", |
| 90 | "output": [ "privateFeature" ] |
| 91 | } |
| 92 | }, |
| 93 | |
| 94 | "report": [ |
| 95 | ], |
| 96 | |
| 97 | "summary": [ |
| 98 | { |
| 99 | "section": "Qt 3D", |
| 100 | "entries": [ |
| 101 | "qt3d-assimp", |
| 102 | "qt3d-system-assimp", |
| 103 | "qt3d-simd-sse2", |
| 104 | "qt3d-simd-avx2", |
| 105 | { |
| 106 | "section": "Aspects", |
| 107 | "entries": [ |
| 108 | "qt3d-render", |
| 109 | "qt3d-input", |
| 110 | "qt3d-logic", |
| 111 | "qt3d-animation", |
| 112 | "qt3d-extras" |
| 113 | ] |
| 114 | } |
| 115 | ] |
| 116 | } |
| 117 | ] |
| 118 | } |