ufbt: fixed generated project paths on Windows (#3339)
This commit is contained in:
parent
7eeb60e17e
commit
8c04947aa2
@ -365,7 +365,7 @@ for template_file in project_template_dir.Dir(".vscode").glob("*"):
|
|||||||
"@UFBT_TOOLCHAIN_OPENOCD@": _path_as_posix(dist_env.WhereIs("openocd")),
|
"@UFBT_TOOLCHAIN_OPENOCD@": _path_as_posix(dist_env.WhereIs("openocd")),
|
||||||
"@UFBT_APP_DIR@": _path_as_posix(original_app_dir.abspath),
|
"@UFBT_APP_DIR@": _path_as_posix(original_app_dir.abspath),
|
||||||
"@UFBT_ROOT_DIR@": _path_as_posix(Dir("#").abspath),
|
"@UFBT_ROOT_DIR@": _path_as_posix(Dir("#").abspath),
|
||||||
"@UFBT_DEBUG_DIR@": dist_env["FBT_DEBUG_DIR"],
|
"@UFBT_DEBUG_DIR@": _path_as_posix(dist_env["FBT_DEBUG_DIR"].abspath),
|
||||||
"@UFBT_DEBUG_ELF_DIR@": _path_as_posix(
|
"@UFBT_DEBUG_ELF_DIR@": _path_as_posix(
|
||||||
dist_env["FBT_FAP_DEBUG_ELF_ROOT"].abspath
|
dist_env["FBT_FAP_DEBUG_ELF_ROOT"].abspath
|
||||||
),
|
),
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
"configurationProvider": "ms-vscode.cpptools",
|
"configurationProvider": "ms-vscode.cpptools",
|
||||||
"cStandard": "gnu17",
|
"cStandard": "gnu17",
|
||||||
"cppStandard": "c++17"
|
"cppStandard": "c++17"
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"version": 4
|
"version": 4
|
||||||
}
|
}
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
||||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
"cortex-debug.enableTelemetry": false,
|
"cortex-debug.enableTelemetry": false,
|
||||||
"cortex-debug.variableUseNaturalFormat": false,
|
"cortex-debug.variableUseNaturalFormat": false,
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
// for the documentation about the tasks.json format
|
// for the documentation about the tasks.json format
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user