启动参数优化

This commit is contained in:
2026-09-30 00:37:02 +08:00
parent e1ae973546
commit e5bc7b29bc
2 changed files with 16 additions and 29 deletions
+14 -29
View File
@@ -1,44 +1,29 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"inputs": [
{
"id": "project",
"type": "pickString",
"description": "选择项目",
"options": ["dl_test", "dl_console", "dl_unit_test"]
}
],
"configurations": [
{
"name": "dl_test (Windows)",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/project/dl_test/res/dl_test.exe",
"args": [],
"cwd": "${workspaceFolder}/project/dl_test/res",
"console": "externalTerminal"
},
{
"name": "dl_test (Linux)",
"name": "调试项目",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/out/linux/project/dl_test/bin/dl_test",
"args": [],
"cwd": "${workspaceFolder}/out/linux/project/dl_test/bin"
"program": "${workspaceFolder}/out/linux/project/${input:project}/bin/${input:project}",
"cwd": "${workspaceFolder}/out/linux/project/${input:project}/bin",
"terminal": "integrated"
},
{
"name": "HistorySim",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/out/linux/project/hs/bin/HistorySim",
"args": [],
"cwd": "${workspaceFolder}/out/linux/project/hs/bin",
"initCommands": [
"command script import ${workspaceFolder}/.vscode/custom_printers.py"
]
},
{
"name": "dl_console",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/out/linux/project/dl_console/bin/dl_console",
"args": [],
"cwd": "${workspaceFolder}/out/linux/project/dl_console/bin"
"terminal": "integrated"
}
]
}
}
+2
View File
@@ -15,6 +15,8 @@
#include "render/dl_factory.h"
#include "render/dl_camera.h"
#include "system/dl_system.h"
#include "system/dl_time.h"
#include "ui/dl_ui_manager.h"
namespace dl::Tool
{