CMakePresets.json (4942B)
1 { 2 "version": 6, 3 "configurePresets": [ 4 { 5 "name": "base", 6 "generator": "Ninja", 7 "binaryDir": "${sourceDir}/temp/cmake_${presetName}", 8 "installDir": "${sourceDir}/install/${presetName}", 9 "hidden": true 10 }, 11 { 12 "name": "default", 13 "inherits": "base" 14 }, 15 { 16 "name": "windows-x64", 17 "inherits": "default", 18 "displayName": "Windows default x64 configuration", 19 "architecture": "x64", 20 "condition": { 21 "type": "equals", 22 "lhs": "${hostSystemName}", 23 "rhs": "Windows" 24 } 25 }, 26 { 27 "name": "macos", 28 "generator": "Xcode", 29 "inherits": "default", 30 "displayName": "MacOS default configuration", 31 "condition": { 32 "type": "equals", 33 "lhs": "${hostSystemName}", 34 "rhs": "Darwin" 35 } 36 }, 37 { 38 "name": "zynthian", 39 "inherits": "default", 40 "displayName": "Build specifically for the Zynthian platform", 41 "generator": "Ninja", 42 "installDir": "/usr/local", 43 "cacheVariables": { 44 "gearmulator_BUILD_JUCEPLUGIN": "ON", 45 "gearmulator_BUILD_FX_PLUGIN": "OFF", 46 47 "CMAKE_CXX_FLAGS": "-march=armv8.2-a -DZYNTHIAN", 48 "CMAKE_C_FLAGS": "-march=armv8.2-a -DZYNTHIAN", 49 50 "gearmulator_BUILD_JUCEPLUGIN_CLAP": "OFF", 51 "gearmulator_BUILD_JUCEPLUGIN_VST2": "OFF", 52 "gearmulator_BUILD_JUCEPLUGIN_VST3": "OFF", 53 "gearmulator_BUILD_JUCEPLUGIN_AU": "OFF", 54 "gearmulator_BUILD_JUCEPLUGIN_LV2": "ON", 55 56 "gearmulator_SYNTH_NODALRED2X": "OFF", 57 "gearmulator_SYNTH_OSIRUS": "ON", 58 "gearmulator_SYNTH_OSTIRUS": "ON", 59 "gearmulator_SYNTH_VAVRA": "OFF", 60 "gearmulator_SYNTH_XENIA": "OFF" 61 } 62 }, 63 { 64 "name": "github-base", 65 "displayName": "Executed by github actions", 66 "binaryDir": "${sourceDir}/build", 67 "installDir": "${sourceDir}/install", 68 "cacheVariables": { 69 "gearmulator_BUILD_JUCEPLUGIN": "ON", 70 "gearmulator_BUILD_FX_PLUGIN": "ON", 71 72 "gearmulator_BUILD_JUCEPLUGIN_CLAP": "ON", 73 "gearmulator_BUILD_JUCEPLUGIN_VST2": "ON", 74 "gearmulator_BUILD_JUCEPLUGIN_VST3": "ON", 75 "gearmulator_BUILD_JUCEPLUGIN_AU": "ON", 76 "gearmulator_BUILD_JUCEPLUGIN_LV2": "ON", 77 78 "gearmulator_SYNTH_NODALRED2X": "OFF", 79 "gearmulator_SYNTH_OSIRUS": "ON", 80 "gearmulator_SYNTH_OSTIRUS": "ON", 81 "gearmulator_SYNTH_VAVRA": "ON", 82 "gearmulator_SYNTH_XENIA": "ON" 83 } 84 }, 85 { 86 "name": "android", 87 "inherits": "default", 88 "displayName": "Android ARM64", 89 "generator": "Unix Makefiles", 90 "cacheVariables": { 91 "CMAKE_TOOLCHAIN_FILE": "$env{ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake", 92 "ANDROID_ABI": "arm64-v8a", 93 "ANDROID_PLATFORM": "android-21", 94 95 "gearmulator_BUILD_JUCEPLUGIN": "ON", 96 "gearmulator_BUILD_FX_PLUGIN": "OFF", 97 98 "gearmulator_BUILD_JUCEPLUGIN_Standalone": "ON", 99 "gearmulator_BUILD_JUCEPLUGIN_CLAP": "OFF", 100 "gearmulator_BUILD_JUCEPLUGIN_VST2": "OFF", 101 "gearmulator_BUILD_JUCEPLUGIN_VST3": "OFF", 102 "gearmulator_BUILD_JUCEPLUGIN_AU": "OFF", 103 "gearmulator_BUILD_JUCEPLUGIN_LV2": "OFF" 104 } 105 }, 106 { 107 "name": "github-Windows", 108 "inherits": "github-base", 109 "architecture": "x64", 110 "generator": "" 111 }, 112 { 113 "name": "github-macOS", 114 "inherits": "github-base", 115 "generator": "Xcode" 116 }, 117 { 118 "name": "github-Linux", 119 "inherits": "github-base", 120 "generator": "" 121 } 122 ], 123 "buildPresets": [ 124 { 125 "name": "default", 126 "configurePreset": "default", 127 "configuration": "Release" 128 }, 129 { 130 "name": "windows-x64", 131 "inherits": "default", 132 "configurePreset": "windows-x64" 133 }, 134 { 135 "name": "macos", 136 "inherits": "default", 137 "configurePreset": "macos" 138 }, 139 { 140 "name": "zynthian", 141 "inherits": "default", 142 "configurePreset": "zynthian" 143 }, 144 { 145 "name": "android", 146 "inherits": "default", 147 "configurePreset": "android" 148 }, 149 { 150 "name": "github-Windows", 151 "inherits": "default", 152 "configurePreset": "github-Windows" 153 }, 154 { 155 "name": "github-macOS", 156 "inherits": "default", 157 "configurePreset": "github-macOS" 158 }, 159 { 160 "name": "github-Linux", 161 "inherits": "default", 162 "configurePreset": "github-Linux" 163 } 164 ], 165 "packagePresets": 166 [ 167 { 168 "name": "github-Windows", 169 "configurePreset": "github-Windows", 170 "generators": 171 [ 172 "ZIP" 173 ] 174 }, 175 { 176 "name": "github-macOS", 177 "configurePreset": "github-macOS", 178 "generators": 179 [ 180 "ZIP" 181 ] 182 }, 183 { 184 "name": "github-Linux", 185 "configurePreset": "github-Linux", 186 "generators": 187 [ 188 "ZIP", 189 "DEB", 190 "RPM" 191 ] 192 } 193 ] 194 }