Skip to content

Commit

Permalink
Add vscode example files to copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Jan 19, 2024
1 parent 3029337 commit 83c1fd1
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
19 changes: 19 additions & 0 deletions vscode_example/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "gdb",
"request": "launch",
"target": "${workspaceRoot}/build/clang_debug/bin/nui-template.exe",
"cwd": "${workspaceRoot}",
"gdbpath": "C:/msys64/clang64/bin/gdb.exe",
"internalConsoleOptions": "openOnSessionStart",
"stopAtEntry": true,
"preLaunchTask": "build_debug"
}
]
}
49 changes: 49 additions & 0 deletions vscode_example/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": "2.0.0",
"options": {
"cwd": "${workspaceFolder}",
"env": {
"MSYSTEM": "CLANG64",
"CHERE_INVOKING": "1"
},
"shell": {
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"--login", "-i", "-c"
]
}
},
"tasks": [
{
"label": "configure_debug",
"command": "cmake",
"args": [
"-D",
"CMAKE_BUILD_TYPE=Debug",
"-D",
"CMAKE_COLOR_DIAGNOSTICS=ON",
"-G",
"\"MSYS Makefiles\"",
"-B",
"build/clang_debug",
"-S",
"."
],
"type": "shell",
},
{
"label": "build_debug",
"command": "cmake",
"dependsOn": "configure_debug",
"type": "shell",
"args": [
"--build",
"build/clang_debug"
],
"presentation": {
"reveal": "always"
},
"group": "build"
}
]
}

0 comments on commit 83c1fd1

Please sign in to comment.