From 5454456cb3ee5d89740810a0af1b9402e3c1e5cb Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Mon, 5 Oct 2020 04:57:21 -0400 Subject: VS Code settings for code and debugging (Linux x64 only) --- .vscode/launch.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .vscode/launch.json (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..92b8df0d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + "configurations": [ + { + "MIMode": "gdb", + "args": [], + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "name": "(gdb) Launch", + "preLaunchTask": "Compile (Linux x64)", + "program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3", + "request": "launch", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "ignoreFailures": true, + "text": "-enable-pretty-printing" + } + ], + "stopAtEntry": false, + "targetArchitecture": "x64", + "type": "cppdbg" + } + ], + "version": "0.2.0" +} -- cgit v1.2.3 From 324f84750bbe58fb0d8b05da07bce78a7d88b08d Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Thu, 8 Oct 2020 23:14:37 -0400 Subject: vscode: Linux: add release configurations --- .vscode/launch.json | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index 92b8df0d..a98dfa3f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,8 +6,8 @@ "cwd": "${workspaceFolder}", "environment": [], "externalConsole": false, - "name": "(gdb) Launch", - "preLaunchTask": "Compile (Linux x64)", + "name": "(gdb) Launch (Debug)", + "preLaunchTask": "Compile (Debug Linux x64)", "program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3", "request": "launch", "setupCommands": [ @@ -20,6 +20,27 @@ "stopAtEntry": false, "targetArchitecture": "x64", "type": "cppdbg" + }, + { + "MIMode": "gdb", + "args": [], + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "name": "(gdb) Launch (Release)", + "preLaunchTask": "Compile (Release Linux x64)", + "program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Release/re3", + "request": "launch", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "ignoreFailures": true, + "text": "-enable-pretty-printing" + } + ], + "stopAtEntry": false, + "targetArchitecture": "x64", + "type": "cppdbg" } ], "version": "0.2.0" -- cgit v1.2.3 From 9250b36431de23ae52511672e080a9cb1afc1999 Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Thu, 8 Oct 2020 23:19:55 -0400 Subject: vscode: add macOS configurations --- .vscode/launch.json | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index a98dfa3f..82ce041f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,7 +6,7 @@ "cwd": "${workspaceFolder}", "environment": [], "externalConsole": false, - "name": "(gdb) Launch (Debug)", + "name": "(gdb) Launch (Linux Debug)", "preLaunchTask": "Compile (Debug Linux x64)", "program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3", "request": "launch", @@ -27,7 +27,7 @@ "cwd": "${workspaceFolder}", "environment": [], "externalConsole": false, - "name": "(gdb) Launch (Release)", + "name": "(gdb) Launch (Linux Release)", "preLaunchTask": "Compile (Release Linux x64)", "program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Release/re3", "request": "launch", @@ -41,6 +41,48 @@ "stopAtEntry": false, "targetArchitecture": "x64", "type": "cppdbg" + }, + { + "MIMode": "lldb", + "args": [], + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "name": "(lldb) Launch (macOS Debug)", + "preLaunchTask": "Compile (Debug macOS x64)", + "program": "${workspaceFolder}/bin/macosx-amd64-librw_gl3_glfw-oal/Debug/re3.app", + "request": "launch", + "setupCommands": [ + { + "description": "Enable pretty-printing for lldb", + "ignoreFailures": true, + "text": "-enable-pretty-printing" + } + ], + "stopAtEntry": false, + "targetArchitecture": "x64", + "type": "cppdbg" + }, + { + "MIMode": "lldb", + "args": [], + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "name": "(lldb) Launch (macOS Release)", + "preLaunchTask": "Compile (Release macOS x64)", + "program": "${workspaceFolder}/bin/macosx-amd64-librw_gl3_glfw-oal/Release/re3.app", + "request": "launch", + "setupCommands": [ + { + "description": "Enable pretty-printing for lldb", + "ignoreFailures": true, + "text": "-enable-pretty-printing" + } + ], + "stopAtEntry": false, + "targetArchitecture": "x64", + "type": "cppdbg" } ], "version": "0.2.0" -- cgit v1.2.3