Created
May 19, 2022 09:42
-
-
Save seanharmer/baa945a9d7e8081679080dacec69d60b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 3, | |
"configurePresets": [ | |
{ | |
"name": "configure-base", | |
"hidden": true, | |
"generator": "Ninja", | |
"cacheVariables": { | |
"SERENITY_BUILD_EXAMPLES": "ON", | |
"SERENITY_BUILD_TESTS": "ON" | |
} | |
}, | |
{ | |
"name": "msvc_x64", | |
"hidden": true, | |
"architecture": { | |
"value": "x64", | |
"strategy": "external" | |
}, | |
"toolset": { | |
"value": "host=x64", | |
"strategy": "external" | |
}, | |
"cacheVariables": { | |
"CMAKE_C_COMPILER": "cl", | |
"CMAKE_CXX_COMPILER": "cl" | |
}, | |
"toolchainFile": "${env.VCPKGDIR}/scripts/buildsystems/vcpkg.cmake" | |
}, | |
{ | |
"name": "debug", | |
"displayName": "Debug", | |
"inherits": [ | |
"configure-base" | |
], | |
"binaryDir": "${sourceDir}/build/Debug", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Debug" | |
} | |
}, | |
{ | |
"name": "debug-msvc_x64", | |
"displayName": "Debug (msvc_x64)", | |
"inherits": [ | |
"debug", | |
"msvc_x64" | |
] | |
}, | |
{ | |
"name": "release", | |
"displayName": "Release", | |
"inherits": [ | |
"configure-base" | |
], | |
"binaryDir": "${sourceDir}/build/Release", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Release" | |
} | |
}, | |
{ | |
"name": "release-msvc_x64", | |
"displayName": "Release (msvc_x64)", | |
"inherits": [ | |
"release", | |
"msvc_x64" | |
] | |
}, | |
{ | |
"name": "profile", | |
"displayName": "Profile", | |
"inherits": [ | |
"configure-base" | |
], | |
"binaryDir": "${sourceDir}/build/Profile", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "RelWithDebInfo" | |
} | |
}, | |
{ | |
"name": "profile-msvc_x64", | |
"displayName": "Profile (msvc_x64)", | |
"inherits": [ | |
"profile", | |
"msvc_x64" | |
] | |
} | |
], | |
"buildPresets": [ | |
{ | |
"name": "debug", | |
"displayName": "Debug", | |
"configurePreset": "debug" | |
}, | |
{ | |
"name": "debug-msvc_x64", | |
"displayName": "Debug (msvc_x64)", | |
"configurePreset": "debug-msvc_x64" | |
}, | |
{ | |
"name": "release", | |
"displayName": "Release", | |
"configurePreset": "release" | |
}, | |
{ | |
"name": "release-msvc_x64", | |
"displayName": "Release (msvc_x64)", | |
"configurePreset": "release-msvc_x64" | |
}, | |
{ | |
"name": "profile", | |
"displayName": "Profile", | |
"configurePreset": "profile" | |
}, | |
{ | |
"name": "profile-msvc_x64", | |
"displayName": "Profile (msvc_x64)", | |
"configurePreset": "profile-msvc_x64" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment