Skip to content

Commit

Permalink
Merge pull request #315 from microsoft/devpresets
Browse files Browse the repository at this point in the history
Add explicit CMake presets for Ubuntu 23.10 and update default presets to target Ubuntu 24.04
  • Loading branch information
abeltrano authored Jul 18, 2024
2 parents e2f18cb + ddcda51 commit c7cbc07
Showing 1 changed file with 93 additions and 12 deletions.
105 changes: 93 additions & 12 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,24 @@
"CMAKE_GENERATOR": "Ninja Multi-Config"
}
},
{
"name": "linux-ubuntu-23.10",
"hidden": true,
"description": "Base options for Ubuntu 23.10 (mantic) builds",
"inherits": [
"linux",
"linux-toolchain-llvm-17"
]
},
{
"name": "linux-ubuntu-24.04",
"hidden": true,
"description": "Base options for Ubuntu 24.04 (noble) builds",
"inherits": [
"linux",
"linux-toolchain-llvm-18"
]
},
{
"name": "linux-toolchain-default",
"hidden": true,
Expand Down Expand Up @@ -201,17 +219,33 @@
]
},
{
"name": "dev-linux",
"displayName": "Development",
"description": "Development inner-loop on Linux",
"name": "dev-linux-common",
"hidden": true,
"description": "Common options for development inner-loop on Linux",
"inherits": [
"dev",
"linux",
"linux-toolchain-default",
"packaging-linux-dev"
]
},

{
"name": "dev-linux",
"displayName": "Development (Ubuntu 24.04 noble)",
"description": "Development inner-loop on Ubuntu 24.04 (noble)",
"inherits": [
"dev-linux-common",
"linux-ubuntu-24.04"
]
},
{
"name": "dev-linux-ubuntu-23.10",
"displayName": "Development (Ubuntu 23.10 mantic)",
"description": "Development inner-loop on Ubuntu 23.10 (mantic)",
"inherits": [
"dev-linux-common",
"linux-ubuntu-23.10"
]
},
{
"name": "dev-windows",
"displayName": "Development",
Expand Down Expand Up @@ -242,19 +276,36 @@
]
},
{
"name": "release-linux",
"displayName": "Release",
"description": "Release for Linux",
"name": "release-linux-common",
"hidden": true,
"description": "Common options for release on Linux",
"inherits": [
"release",
"linux",
"linux-toolchain-default",
"packaging-linux-release"
]
},
{
"name": "release-linux",
"displayName": "Release (Ubuntu 24.04 noble)",
"description": "Release for Ubuntu 24.04 (noble)",
"inherits": [
"release-linux-common",
"linux-ubuntu-24.04"
],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "/usr/local"
}
},
{
"name": "release-linux-ubuntu-23.10",
"displayName": "Release (Ubuntu 23.10 mantic)",
"description": "Release for Ubuntu 23.10 (mantic)",
"inherits": [
"release-linux-common",
"linux-ubuntu-23.10"
]
},
{
"name": "release-windows",
"displayName": "Release",
Expand Down Expand Up @@ -374,12 +425,21 @@
{
"name": "build-dev-linux",
"displayName": "Development",
"description": "Build the project for development on Linux",
"description": "Build the project for development on Ubuntu 24.04 (noble)",
"configurePreset": "dev-linux",
"inherits": [
"build-dev"
]
},
{
"name": "build-dev-linux-ubuntu-23.10",
"displayName": "Development (Ubuntu 23.10 mantic)",
"description": "Build the project for development on Ubuntu 23.10 (mantic)",
"configurePreset": "dev-linux-ubuntu-23.10",
"inherits": [
"build-dev"
]
},
{
"name": "build-dev-windows",
"displayName": "Development",
Expand Down Expand Up @@ -407,6 +467,15 @@
"build-release"
]
},
{
"name": "build-release-linux-ubuntu-23.10",
"displayName": "Release (Ubuntu 23.10 mantic)",
"description": "Build the project for release on Ubuntu 23.10 (mantic)",
"configurePreset": "release-linux-ubuntu-23.10",
"inherits": [
"build-release"
]
},
{
"name": "build-release-windows",
"displayName": "Release",
Expand Down Expand Up @@ -531,15 +600,27 @@
{
"name": "packaging-dev-linux",
"displayName": "Development",
"description": "Development packaging for inner-loop on Linux",
"description": "Development packaging for inner-loop on Ubuntu 24.04 (noble)",
"configurePreset": "dev-linux"
},
{
"name": "packaging-dev-linux-ubuntu-23.10",
"displayName": "Development (Ubuntu 23.10 mantic)",
"description": "Development packaging for inner-loop on Ubuntu 23.10 (mantic)",
"configurePreset": "dev-linux-ubuntu-23.10"
},
{
"name": "packaging-release-linux",
"displayName": "Release",
"description": "Release packaging for inner-loop on Linux",
"description": "Release packaging for inner-loop on Ubuntu 24.04 (noble)",
"configurePreset": "release-linux"
},
{
"name": "packaging-release-linux-ubuntu-23.10",
"displayName": "Release (Ubuntu 23.10 mantic)",
"description": "Release packaging for inner-loop on Ubuntu 23.10 (mantic)",
"configurePreset": "release-linux-ubuntu-23.10"
},
{
"name": "packaging-dev-windows",
"displayName": "Development",
Expand Down

0 comments on commit c7cbc07

Please sign in to comment.