mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 11:41:57 +08:00
deps presets to handle windows and debug build necessity
This commit is contained in:
parent
a4d5244fb2
commit
38217b0adc
40
deps/CMakePresets.json
vendored
40
deps/CMakePresets.json
vendored
@ -1,11 +1,51 @@
|
||||
{
|
||||
"version": 3,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "windows-only",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Windows"
|
||||
},
|
||||
"cacheVariables": {
|
||||
"DEP_DEBUG": true
|
||||
},
|
||||
"environment": {
|
||||
"PLATFORM": "WINDOWS"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-only",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Linux"
|
||||
},
|
||||
"environment": {
|
||||
"PLATFORM": "LINUX"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "mac-only",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Darwin"
|
||||
},
|
||||
"environment": {
|
||||
"PLATFORM": "MAC"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "default",
|
||||
"displayName": "Default Config",
|
||||
"description": "Default build for any desktop OS",
|
||||
"binaryDir": "${sourceDir}/build-default",
|
||||
"inherits": ["windows-only", "linux-only"],
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
"DEP_WX_GTK3": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user