Fries
23dd7ace18
Right now the implementation is extremely unoptimized and draw call heavy as I just copy and pasted that from the docs for tiny obj loader but added gl calls.
91 lines
2.6 KiB
JSON
91 lines
2.6 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "(gdb) Launch gl.elf",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/gl.elf",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/opt/toolchains/dc/sh-elf/bin/sh-elf-gdb",
|
|
"miDebuggerServerAddress": "localhost:3263",
|
|
"debugServerPath": "/usr/bin/flycast",
|
|
"debugServerArgs": "${workspaceFolder}/build/gl.elf",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set SuperH architechture",
|
|
"text": "set architecture sh4"
|
|
}
|
|
],
|
|
"avoidWindowsConsoleRedirection": false,
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": "(gdb) Launch cube.elf",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cube.elf",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/opt/toolchains/dc/sh-elf/bin/sh-elf-gdb",
|
|
"miDebuggerServerAddress": "localhost:3263",
|
|
"debugServerPath": "/usr/bin/flycast",
|
|
"debugServerArgs": "${workspaceFolder}/build/cube.elf",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set SuperH architechture",
|
|
"text": "set architecture sh4"
|
|
}
|
|
],
|
|
"avoidWindowsConsoleRedirection": false,
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": "(gdb, lxdream-nitro) Launch cube.elf",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cube.elf",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/opt/toolchains/dc/sh-elf/bin/sh-elf-gdb",
|
|
"miDebuggerServerAddress": "localhost:3263",
|
|
"debugServerPath": "/home/user/Downloads/lxdream-nitro/builddir/lxdream-nitro",
|
|
"debugServerArgs": "-d -g 3263 -e ${workspaceFolder}/build/cube.elf",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set SuperH architechture",
|
|
"text": "set architecture sh4"
|
|
}
|
|
],
|
|
"avoidWindowsConsoleRedirection": false,
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
}
|
|
]
|
|
}
|