diff --git a/src/coreclr/CMakePresets.json b/src/coreclr/CMakePresets.json index 3359ca9879cb3..fe959dfca7983 100644 --- a/src/coreclr/CMakePresets.json +++ b/src/coreclr/CMakePresets.json @@ -45,6 +45,21 @@ } } }, + { + "name": "linux-base", + "hidden": true, + "inherits": "base", + "cacheVariables": { + "CLR_CMAKE_TARGET_OS": "linux" + }, + "vendor": { + "microsoft.com/VisualStudioSettings/CMake/1.0": { + "hostOS": [ + "Linux" + ] + } + } + }, { "name": "Debug", "hidden": true, @@ -233,6 +248,60 @@ "Checked", "ARM64" ] + }, + { + "name": "linux.x64.Debug", + "displayName": "linux.x64.Debug", + "inherits": [ + "linux-base", + "Debug", + "x64" + ] + }, + { + "name": "linux.x64.Release", + "displayName": "linux.x64.Release", + "inherits": [ + "linux-base", + "Release", + "x64" + ] + }, + { + "name": "linux.x64.Checked", + "displayName": "linux.x64.Checked", + "inherits": [ + "linux-base", + "Checked", + "x64" + ] + }, + { + "name": "linux.arm64.Debug", + "displayName": "linux.arm64.Debug", + "inherits": [ + "linux-base", + "Debug", + "ARM64" + ] + }, + { + "name": "linux.arm64.Release", + "displayName": "linux.arm64.Release", + "inherits": [ + "linux-base", + "Release", + "ARM64" + ] + }, + { + "name": "linux.arm64.Checked", + "displayName": "linux.arm64.Checked", + "inherits": [ + "linux-base", + "Checked", + "ARM64" + ] } ] }