mirror of https://github.com/dsrw/enu.git
Updated build/debug configs
This commit is contained in:
parent
cd27608b4d
commit
ff59869126
|
@ -8,10 +8,12 @@
|
|||
*.dylib
|
||||
*.dll
|
||||
bin/
|
||||
scratch/
|
||||
tools/build_helpers
|
||||
tools/build_helpers.exe
|
||||
logs/
|
||||
*.exe
|
||||
*.out
|
||||
|
||||
|
||||
app/.import
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug",
|
||||
"name": "Debug Enu",
|
||||
"program": "${workspaceFolder}/vendor/godot/bin/godot.osx.opt.tools.arm64",
|
||||
"windows": {
|
||||
"program": "${workspaceFolder}/vendor/godot/bin/godot.windows.opt.tools.64"
|
||||
|
@ -18,6 +18,16 @@
|
|||
"cwd": "${workspaceFolder}/app",
|
||||
"preLaunchTask": "Build enu",
|
||||
"initCommands": ["command source ${workspaceRoot}/.lldbinit"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug Current file",
|
||||
"program": "${relativeFileDirname}/${fileBasenameNoExtension}",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"preLaunchTask": "Build Current File",
|
||||
"initCommands": ["command source ${workspaceRoot}/.lldbinit"]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build enu",
|
||||
"command": "nimble",
|
||||
"args": ["build", "--debugger:native"],
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
"type": "shell",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build Current File",
|
||||
"command": "nim",
|
||||
"args": ["c", "--debugger:native", "${relativeFile}"],
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
"type": "shell",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue