feat: add CMakePresets.json
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
95
cmake/linuxPreset.json
Normal file
95
cmake/linuxPreset.json
Normal file
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"$schema": "https://cmake.org/cmake/help/latest/_downloads/3e2d73bff478d88a7de0de736ba5e361/schema.json",
|
||||
"version": 8,
|
||||
"include": [
|
||||
"commonPresets.json"
|
||||
],
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "linux_base",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Linux"
|
||||
},
|
||||
"generator": "Ninja",
|
||||
"cacheVariables": {
|
||||
"Launcher_BUILD_ARTIFACT": "Linux-Qt6",
|
||||
"Launcher_ENABLE_JAVA_DOWNLOADER": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux_debug",
|
||||
"inherits": [
|
||||
"base_debug",
|
||||
"linux_base"
|
||||
],
|
||||
"displayName": "Linux (Debug)"
|
||||
},
|
||||
{
|
||||
"name": "linux_release",
|
||||
"inherits": [
|
||||
"base_release",
|
||||
"linux_base"
|
||||
],
|
||||
"displayName": "Linux (Release)"
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "linux_base",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Linux"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux_debug",
|
||||
"inherits": [
|
||||
"linux_base"
|
||||
],
|
||||
"displayName": "Linux (Debug)",
|
||||
"configurePreset": "linux_debug"
|
||||
},
|
||||
{
|
||||
"name": "linux_release",
|
||||
"inherits": [
|
||||
"linux_base"
|
||||
],
|
||||
"displayName": "Linux (Release)",
|
||||
"configurePreset": "linux_release"
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
{
|
||||
"name": "linux_base",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Linux"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux_debug",
|
||||
"inherits": [
|
||||
"base_debug",
|
||||
"linux_base"
|
||||
],
|
||||
"displayName": "Linux (Debug)",
|
||||
"configurePreset": "linux_debug"
|
||||
},
|
||||
{
|
||||
"name": "linux_release",
|
||||
"inherits": [
|
||||
"base_release",
|
||||
"linux_base"
|
||||
],
|
||||
"displayName": "Linux (Release)",
|
||||
"configurePreset": "linux_release"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user