4 Star 13 Fork 8

Gitee 极速下载/musescore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/musescore/MuseScore
克隆/下载
CMakePresets.json 4.00 KB
一键复制 编辑 原始数据 按行查看 历史
Igor Korsukov 提交于 2026-01-15 21:37 +08:00 . build optimisation
{
"version": 6,
"configurePresets": [
{
"name": "windows-base",
"description": "Target Windows with the Visual Studio development environment.",
"hidden": true,
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/msvc.build/${presetName}",
"installDir": "${sourceDir}/msvc.install/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe",
"CMAKE_WARN_DEPRECATED": "FALSE",
"CMAKE_PRESET_NAME": "${presetName}"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-debug",
"displayName": "x64 Debug",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (Debug)",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"MUSE_COMPILE_BUILD_64": "ON"
}
},
{
"name": "x64-MinSizeRel",
"displayName": "x64 Release",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (MinSizeRel)",
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "MinSizeRel"
}
},
{
"name": "x64-Release",
"displayName": "x64 Release",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (Release)",
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "x64-RelWithDebInfo",
"displayName": "x64 RelWithDebInfo",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (RelWithDebInfo)",
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "linux-base",
"description": "Use current Qt with Clang compiler",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{QT_DIR}/lib/cmake/Qt6/qt.toolchain.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}/install",
"CMAKE_PREFIX_PATH": "$env{QT_DIR}/lib/cmake",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"QT_QML_GENERATE_QMLLS_INI": "ON",
"CMAKE_CXX_FLAGS_DEBUG_INIT": "-DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT": "-DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "compile_commands",
"displayName": "Generate compile_commands",
"description": "Use current Qt with Clang compiler (Debug)",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"MUSE_COMPILE_USE_UNITY": "OFF",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "Qt-Clang-Debug",
"displayName": "Qt Clang Debug",
"description": "Use current Qt with Clang compiler (Debug)",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/musescore.git
git@gitee.com:mirrors/musescore.git
mirrors
musescore
musescore
master

搜索帮助