CMakePresets.json (1228B)
1 { 2 "version": 3, 3 "configurePresets": [ 4 { 5 "name": "base", 6 "generator": "Ninja", 7 "binaryDir": "${sourceDir}/build", 8 "hidden": true 9 }, 10 { 11 "name": "default", 12 "displayName": "RelWithDebInfo", 13 "description": "Enables optimizations with debug information", 14 "cacheVariables": { 15 "CMAKE_BUILD_TYPE": "RelWithDebInfo" 16 }, 17 "inherits": ["base"] 18 }, 19 { 20 "name": "debug", 21 "displayName": "Debug", 22 "description": "No optimizations, enables debug information", 23 "cacheVariables": { 24 "CMAKE_BUILD_TYPE": "Debug" 25 }, 26 "inherits": ["base"] 27 }, 28 { 29 "name": "release", 30 "displayName": "Release", 31 "description": "Optimized for performance, disables debug information", 32 "cacheVariables": { 33 "CMAKE_BUILD_TYPE": "Release" 34 }, 35 "inherits": ["base"] 36 }, 37 { 38 "name": "iwyu", 39 "displayName": "IWYU", 40 "description": "Run include-what-you-use", 41 "cacheVariables": { 42 "ENABLE_IWYU": "ON" 43 }, 44 "inherits": ["base"] 45 }, 46 { 47 "name": "ci", 48 "cacheVariables": { 49 "CI_BUILD": "ON" 50 }, 51 "inherits": ["base"] 52 } 53 ] 54 }