|
| 1 | +{ |
| 2 | + "version": 6, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 20, |
| 6 | + "patch": 0 |
| 7 | + }, |
| 8 | + "configurePresets": [ |
| 9 | + { |
| 10 | + "name": "llvm-build-shared-libs", |
| 11 | + "hidden": true, |
| 12 | + "description": "Build shared libraries", |
| 13 | + "cacheVariables": { |
| 14 | + "BUILD_SHARED_LIBS": true |
| 15 | + } |
| 16 | + }, |
| 17 | + { |
| 18 | + "name": "llvm-build-tests", |
| 19 | + "hidden": true, |
| 20 | + "description": "Build tests", |
| 21 | + "cacheVariables": { |
| 22 | + "LLVM_BUILD_TESTS": true |
| 23 | + } |
| 24 | + }, |
| 25 | + { |
| 26 | + "name": "llvm-enable-assertions", |
| 27 | + "hidden": true, |
| 28 | + "description": "Enable runtime assertions", |
| 29 | + "cacheVariables": { |
| 30 | + "LLVM_ENABLE_ASSERTIONS": true |
| 31 | + } |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "llvm-enable-projects-clang", |
| 35 | + "hidden": true, |
| 36 | + "description": "Enable projects clang", |
| 37 | + "cacheVariables": { |
| 38 | + "LLVM_ENABLE_PROJECTS": "clang" |
| 39 | + } |
| 40 | + }, |
| 41 | + { |
| 42 | + "name": "llvm-enable-projects-clang-tools-extra", |
| 43 | + "hidden": true, |
| 44 | + "description": "Enable projects clang, clang-tools-extra", |
| 45 | + "cacheVariables": { |
| 46 | + "LLVM_ENABLE_PROJECTS": "clang;clang-tools-extra" |
| 47 | + } |
| 48 | + }, |
| 49 | + { |
| 50 | + "name": "llvm-enable-lto", |
| 51 | + "hidden": true, |
| 52 | + "description": "Enable link time optimizations (LTO)", |
| 53 | + "cacheVariables": { |
| 54 | + "LLVM_ENABLE_LTO": true |
| 55 | + } |
| 56 | + }, |
| 57 | + { |
| 58 | + "name": "llvm-export-compile-commands", |
| 59 | + "hidden": true, |
| 60 | + "description": "Generate a compile_commands.json database", |
| 61 | + "cacheVariables": { |
| 62 | + "CMAKE_EXPORT_COMPILE_COMMANDS": true |
| 63 | + } |
| 64 | + }, |
| 65 | + { |
| 66 | + "name": "llvm-no-build-testing", |
| 67 | + "hidden": true, |
| 68 | + "description": "Turn off building of tests", |
| 69 | + "cacheVariables": { |
| 70 | + "BUILD_TESTING": false |
| 71 | + } |
| 72 | + }, |
| 73 | + { |
| 74 | + "name": "llvm-target-x86", |
| 75 | + "hidden": true, |
| 76 | + "description": "Only target x86 back end", |
| 77 | + "cacheVariables": { |
| 78 | + "LLVM_TARGETS_TO_BUILD": "X86" |
| 79 | + } |
| 80 | + }, |
| 81 | + { |
| 82 | + "name": "llvm-use-sanitizer-asan", |
| 83 | + "hidden": true, |
| 84 | + "description": "Build with ASAN", |
| 85 | + "cacheVariables": { |
| 86 | + "LLVM_USE_SANITIZER": "Address" |
| 87 | + } |
| 88 | + } |
| 89 | + ] |
| 90 | +} |
0 commit comments