Skip to content

Commit

Permalink
Add cmake presets representing bootstrap-vcpkg.sh invokations
Browse files Browse the repository at this point in the history
  • Loading branch information
SchaichAlonso committed Apr 3, 2024
1 parent 33851ad commit 54723b2
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,25 @@
"CMAKE_OSX_DEPLOYMENT_TARGET": "10.13",
"VCPKG_WARNINGS_AS_ERRORS": true
}
},
{
"name": "bootstrap.sh",
"description": "Preset used by vcpkg's bootstrap-vcpkg.sh",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"VCPKG_DEVELOPMENT_WARNINGS": "OFF"
}
},
{
"name": "bootstrap.sh parallel build",
"description": "Preset used by vcpkg's bootstrap-vcpkg.sh when the VCPKG_MAX_CONCURRENCY variable is non-empty",
"inherits": ["bootstrap.sh"],
"cacheVariables": {
"CMAKE_JOB_POOL_COMPILE": "compile",
"CMAKE_JOB_POOL_LINK": "link",
"CMAKE_JOB_POOLS": "compile=$env{VCPKG_MAX_CONCURRENCY};link=$env{VCPKG_MAX_CONCURRENCY}"
}
}
],
"buildPresets": [
Expand Down Expand Up @@ -202,4 +221,4 @@
"configurePreset": "macos-ci"
}
]
}
}

0 comments on commit 54723b2

Please sign in to comment.