Skip to content

Commit

Permalink
Adds Linux CMake presets for coreclr (#110029)
Browse files Browse the repository at this point in the history
* Adds Linux CMake presets for coreclr

* Adds arm64 Linux presets
  • Loading branch information
MattBolitho authored Dec 4, 2024
1 parent 9981431 commit e81c186
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions src/coreclr/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"
]
}
]
}

0 comments on commit e81c186

Please sign in to comment.