mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 14:51:58 +08:00
Fix deps preset conditionals
This commit is contained in:
parent
fe22004818
commit
cd094ce831
33
deps/CMakePresets.json
vendored
33
deps/CMakePresets.json
vendored
@ -1,6 +1,15 @@
|
|||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"configurePresets": [
|
"configurePresets": [
|
||||||
|
{
|
||||||
|
"name": "linux-only",
|
||||||
|
"hidden": true,
|
||||||
|
"condition": {
|
||||||
|
"type": "equals",
|
||||||
|
"lhs": "${hostSystemName}",
|
||||||
|
"rhs": "Linux"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "windows-only",
|
"name": "windows-only",
|
||||||
"hidden": true,
|
"hidden": true,
|
||||||
@ -11,21 +20,6 @@
|
|||||||
},
|
},
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"DEP_DEBUG": true
|
"DEP_DEBUG": true
|
||||||
},
|
|
||||||
"environment": {
|
|
||||||
"PLATFORM": "WINDOWS"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "linux-only",
|
|
||||||
"hidden": true,
|
|
||||||
"condition": {
|
|
||||||
"type": "equals",
|
|
||||||
"lhs": "${hostSystemName}",
|
|
||||||
"rhs": "Linux"
|
|
||||||
},
|
|
||||||
"environment": {
|
|
||||||
"PLATFORM": "LINUX"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -35,9 +29,6 @@
|
|||||||
"type": "equals",
|
"type": "equals",
|
||||||
"lhs": "${hostSystemName}",
|
"lhs": "${hostSystemName}",
|
||||||
"rhs": "Darwin"
|
"rhs": "Darwin"
|
||||||
},
|
|
||||||
"environment": {
|
|
||||||
"PLATFORM": "MAC"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -45,7 +36,11 @@
|
|||||||
"displayName": "Default Config",
|
"displayName": "Default Config",
|
||||||
"description": "Default build for any desktop OS",
|
"description": "Default build for any desktop OS",
|
||||||
"binaryDir": "${sourceDir}/build-default",
|
"binaryDir": "${sourceDir}/build-default",
|
||||||
"inherits": ["windows-only", "linux-only"],
|
"inherits": ["mac-only", "windows-only", "linux-only"],
|
||||||
|
"condition": {
|
||||||
|
"type": "const",
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Release",
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
"DEP_WX_GTK3": true,
|
"DEP_WX_GTK3": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user