Setup VSCode build system
Works on both Linux and Windows
This commit is contained in:
57
.vscode/launch.json
vendored
Normal file
57
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations":
|
||||
[
|
||||
{
|
||||
"name": "Run lxc",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/lxc",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": true,
|
||||
|
||||
"preLaunchTask": "build",
|
||||
|
||||
"windows": { "MIMode": "cppvsdbg", },
|
||||
"linux": { "MIMode": "gdb" },
|
||||
|
||||
"setupCommands":
|
||||
[
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": false
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Run LXC_Tests",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/LXC_Tests",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": true,
|
||||
|
||||
"preLaunchTask": "build",
|
||||
|
||||
"windows": { "MIMode": "cppvsdbg", },
|
||||
"linux": { "MIMode": "gdb" },
|
||||
|
||||
"setupCommands":
|
||||
[
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user