mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
* Simplify building with Qt Creator * Auto-generate preseets * Use template for CMakePresets
60 lines
1.7 KiB
Plaintext
60 lines
1.7 KiB
Plaintext
{
|
|
"version": 6,
|
|
"configurePresets": [
|
|
{
|
|
"name": "macos-dev",
|
|
"displayName": "macOS Development",
|
|
"description": "Debug build using deps from dev/macos/setup.sh",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_PREFIX_PATH": "@BREW_PREFIX@",
|
|
"QTROOT": "${sourceDir}/dev/macos/deps/qt/@QT_VERSION@/macos",
|
|
"USE_STATIC_MPVQT": "ON",
|
|
"MACOS_LAUNCH_WRAPPER": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-dev",
|
|
"displayName": "Windows Development",
|
|
"description": "Debug build using deps from dev/windows/setup.bat",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"QTROOT": "${sourceDir}/dev/windows/deps/qt/@QT_VERSION@/msvc2022_64",
|
|
"MPV_INCLUDE_DIR": "${sourceDir}/dev/windows/deps/mpv/include",
|
|
"MPV_LIBRARY": "${sourceDir}/dev/windows/deps/mpv/libmpv-2.dll.lib",
|
|
"USE_STATIC_MPVQT": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-dev",
|
|
"displayName": "Linux Development",
|
|
"description": "Debug build using system Qt and libraries",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Linux"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"USE_STATIC_MPVQT": "ON"
|
|
}
|
|
}
|
|
]
|
|
}
|