mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
CMake: Add preset with swift interop enabled
This commit is contained in:
parent
0b7a6ef4c9
commit
a0173b342f
Notes:
github-actions[bot]
2025-06-11 17:56:11 +00:00
Author: https://github.com/ADKaster
Commit: a0173b342f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5047
1 changed files with 29 additions and 0 deletions
|
@ -180,6 +180,23 @@
|
|||
],
|
||||
"displayName": "Fuzzers CI Config",
|
||||
"description": "Fuzzers build with GitHub Actions cache"
|
||||
},
|
||||
{
|
||||
"name": "Swift_Release",
|
||||
"inherits": "unix_base",
|
||||
"displayName": "Swift Release Config",
|
||||
"description": "Swift release build using Ninja generator",
|
||||
"binaryDir": "${fileDir}/Build/swift",
|
||||
"cacheVariables": {
|
||||
"ENABLE_SWIFT": "ON",
|
||||
"CMAKE_C_COMPILER": "MustBeSetManually",
|
||||
"CMAKE_CXX_COMPILER": "MustBeSetManually++"
|
||||
},
|
||||
"vendor": {
|
||||
"jetbrains.com/clion": {
|
||||
"toolchain": "Swift"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
|
@ -253,6 +270,13 @@
|
|||
"configurePreset": "Windows_CI",
|
||||
"displayName": "Build",
|
||||
"description": "Build the project"
|
||||
},
|
||||
{
|
||||
"name": "Swift_Release",
|
||||
"inherits": "unix_base",
|
||||
"configurePreset": "Swift_Release",
|
||||
"displayName": "Build Swift Release",
|
||||
"description": "Build the project for Swift release"
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
|
@ -325,6 +349,11 @@
|
|||
"name": "Windows_CI",
|
||||
"inherits": "windows_base",
|
||||
"configurePreset": "Windows_CI"
|
||||
},
|
||||
{
|
||||
"name": "Swift_Release",
|
||||
"inherits": "unix_base",
|
||||
"configurePreset": "Swift_Release"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue