|
| 1 | +{ |
| 2 | + "version": 6, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 25, |
| 6 | + "patch": 0 |
| 7 | + }, |
| 8 | + "configurePresets": [ |
| 9 | + { |
| 10 | + "name": "ci", |
| 11 | + "generator": "Ninja Multi-Config", |
| 12 | + "displayName": "CI Build Configuration", |
| 13 | + "description": "Configuration used in CI to enable examples and testing.", |
| 14 | + "binaryDir": "${sourceDir}/build/${presetName}", |
| 15 | + "cacheVariables": { |
| 16 | + "ARM_COMPUTE_BUILD_SHARED_LIB": "ON", |
| 17 | + "ARM_COMPUTE_ENABLE_ASSERTS": "ON", |
| 18 | + "ARM_COMPUTE_ENABLE_CPPTHREADS": "OFF", |
| 19 | + "ARM_COMPUTE_ENABLE_OPENMP": "ON", |
| 20 | + "ARM_COMPUTE_ENABLE_WERROR": "ON", |
| 21 | + "ARM_COMPUTE_BUILD_EXAMPLES": "ON", |
| 22 | + "ARM_COMPUTE_BUILD_TESTING": "ON" |
| 23 | + } |
| 24 | + }, |
| 25 | + { |
| 26 | + "name": "release", |
| 27 | + "generator": "Ninja Multi-Config", |
| 28 | + "displayName": "Release Build Configuration", |
| 29 | + "description": "Configuration used for a fully-optimized release build.", |
| 30 | + "binaryDir": "${sourceDir}/build/${presetName}" |
| 31 | + } |
| 32 | + ], |
| 33 | + "buildPresets": [ |
| 34 | + { |
| 35 | + "name": "ci", |
| 36 | + "displayName": "CI Build", |
| 37 | + "configurePreset": "ci", |
| 38 | + "configuration": "Release", |
| 39 | + "description": "Builds the CI configuration." |
| 40 | + }, |
| 41 | + { |
| 42 | + "name": "release", |
| 43 | + "displayName": "Release Build", |
| 44 | + "configurePreset": "release", |
| 45 | + "configuration": "Release", |
| 46 | + "description": "Builds the Release configuration." |
| 47 | + } |
| 48 | + ], |
| 49 | + "workflowPresets": [ |
| 50 | + { |
| 51 | + "name": "ci", |
| 52 | + "steps": [ |
| 53 | + { |
| 54 | + "type": "configure", |
| 55 | + "name": "ci" |
| 56 | + }, |
| 57 | + { |
| 58 | + "type": "build", |
| 59 | + "name": "ci" |
| 60 | + } |
| 61 | + ] |
| 62 | + }, |
| 63 | + { |
| 64 | + "name": "release", |
| 65 | + "steps": [ |
| 66 | + { |
| 67 | + "type": "configure", |
| 68 | + "name": "release" |
| 69 | + }, |
| 70 | + { |
| 71 | + "type": "build", |
| 72 | + "name": "release" |
| 73 | + } |
| 74 | + ] |
| 75 | + } |
| 76 | + ] |
| 77 | +} |
0 commit comments