Files
Interpreter/CMakePresets.json
T
AdminandCursor 6db7304254 添加 GCC CMake presets,顶层先只编 isa。
compiler/vm/host 尚未成库,避免 configure 失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 17:48:03 +08:00

49 lines
1022 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "gcc",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
}
},
{
"name": "gcc-debug",
"displayName": "GCC Debug",
"description": "使用 PATH 中的 gcc / g++Debug",
"inherits": "gcc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "gcc-release",
"displayName": "GCC Release",
"description": "使用 PATH 中的 gcc / g++Release",
"inherits": "gcc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
{
"name": "gcc-debug",
"configurePreset": "gcc-debug"
},
{
"name": "gcc-release",
"configurePreset": "gcc-release"
}
]
}