mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
CMake: Add experimental windows native presets
Co-Authored-By: Andrew Kaster <andrew@ladybird.org>
This commit is contained in:
parent
9456359f32
commit
38f42f17fe
Notes:
github-actions[bot]
2024-10-11 03:50:10 +00:00
Author: https://github.com/pheonixfirewingz
Commit: 38f42f17fe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1695
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/nico
Reviewed-by: https://github.com/vitalyster
1 changed files with 90 additions and 6 deletions
|
@ -7,10 +7,9 @@
|
||||||
},
|
},
|
||||||
"configurePresets": [
|
"configurePresets": [
|
||||||
{
|
{
|
||||||
"name": "default",
|
"hidden": true,
|
||||||
|
"name": "default_base",
|
||||||
"displayName": "Default Config",
|
"displayName": "Default Config",
|
||||||
"description": "Default build using Ninja generator",
|
|
||||||
"generator": "Ninja",
|
|
||||||
"binaryDir": "${fileDir}/Build/ladybird",
|
"binaryDir": "${fileDir}/Build/ladybird",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
||||||
|
@ -30,6 +29,64 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"hidden": true,
|
||||||
|
"name": "windows",
|
||||||
|
"description": "Visual Studio IDE config (experimental)",
|
||||||
|
"architecture": {
|
||||||
|
"value": "x64",
|
||||||
|
"strategy": "external"
|
||||||
|
},
|
||||||
|
"cacheVariables": {
|
||||||
|
"ENABLE_QT": "OFF"
|
||||||
|
},
|
||||||
|
"vendor": {
|
||||||
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
||||||
|
"intelliSenseMode": "windows-clang-x64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"condition": {
|
||||||
|
"type": "equals",
|
||||||
|
"lhs": "${hostSystemName}",
|
||||||
|
"rhs": "Windows"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "default",
|
||||||
|
"description": "Default build using Ninja generator",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"inherits": "default_base",
|
||||||
|
"condition": {
|
||||||
|
"type": "notEquals",
|
||||||
|
"lhs": "${hostSystemName}",
|
||||||
|
"rhs": "Windows"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_ninja",
|
||||||
|
"displayName": "Default with ClangCL and Ninja",
|
||||||
|
"description": "Windows build using Ninja generator (experimental)",
|
||||||
|
"inherits": [
|
||||||
|
"default_base",
|
||||||
|
"windows"
|
||||||
|
],
|
||||||
|
"generator": "Ninja",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_C_COMPILER": "clang-cl",
|
||||||
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msbuild",
|
||||||
|
"displayName": "Default with ClangCL and MSBuild",
|
||||||
|
"description": "Default build using Visual Studio generator (experimental)",
|
||||||
|
"inherits": [
|
||||||
|
"default_base",
|
||||||
|
"windows"
|
||||||
|
],
|
||||||
|
"generator": "Visual Studio 17 2022",
|
||||||
|
"toolset": "ClangCL"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Debug",
|
"name": "Debug",
|
||||||
"inherits": "default",
|
"inherits": "default",
|
||||||
|
@ -63,12 +120,18 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "CI",
|
"name": "CI",
|
||||||
"inherits": ["vcpkg_ci", "default" ],
|
"inherits": [
|
||||||
|
"vcpkg_ci",
|
||||||
|
"default"
|
||||||
|
],
|
||||||
"displayName": "Non-Sanitizer CI Config"
|
"displayName": "Non-Sanitizer CI Config"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Sanitizer_CI",
|
"name": "Sanitizer_CI",
|
||||||
"inherits": ["vcpkg_ci", "Sanitizer" ],
|
"inherits": [
|
||||||
|
"vcpkg_ci",
|
||||||
|
"Sanitizer"
|
||||||
|
],
|
||||||
"displayName": "Sanitizer CI Config",
|
"displayName": "Sanitizer CI Config",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": ""
|
"CMAKE_BUILD_TYPE": ""
|
||||||
|
@ -76,7 +139,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Fuzzers_CI",
|
"name": "Fuzzers_CI",
|
||||||
"inherits": ["vcpkg_ci", "default" ],
|
"inherits": [
|
||||||
|
"vcpkg_ci",
|
||||||
|
"default"
|
||||||
|
],
|
||||||
"displayName": "Fuzzers Config",
|
"displayName": "Fuzzers Config",
|
||||||
"description": "Fuzzers build with GitHub Actions cache",
|
"description": "Fuzzers build with GitHub Actions cache",
|
||||||
"binaryDir": "${fileDir}/Build/ladybird-fuzzers",
|
"binaryDir": "${fileDir}/Build/ladybird-fuzzers",
|
||||||
|
@ -98,6 +164,24 @@
|
||||||
"all"
|
"all"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msbuild",
|
||||||
|
"configurePreset": "windows_msbuild",
|
||||||
|
"displayName": "Build",
|
||||||
|
"description": "Build the project",
|
||||||
|
"targets": [
|
||||||
|
"ALL_BUILD"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_ninja",
|
||||||
|
"configurePreset": "windows_ninja",
|
||||||
|
"displayName": "Build",
|
||||||
|
"description": "Build the project",
|
||||||
|
"targets": [
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Sanitizer",
|
"name": "Sanitizer",
|
||||||
"configurePreset": "Sanitizer",
|
"configurePreset": "Sanitizer",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue