Skip to content

Commit

Permalink
project files and folder for vscode on linux (ubuntu)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwagner2 committed Mar 9, 2018
1 parent c089821 commit ce84dc8
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"/usr/include/c++/5",
"/usr/include/x86_64-linux-gnu/c++/5",
"/usr/include/c++/5/backward",
"/usr/lib/gcc/x86_64-linux-gnu/5/include",
"/usr/local/include",
"/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include",
"${workspaceRoot}",
"~/local/wx-3.1.0/lib/wx/include/gtk2-unicode-static-3.1",
"~/local/wx-3.1.0/include/wx-3.1",
"${workspaceRoot}/../lk/include",
"${workspaceRoot}/../ssc/solarpilot",
"${workspaceRoot}/../wex/include",
"${workspaceRoot}/../SolTrace/coretrace"

],
"defines": ["SP_USE_SOLTRACE","SP_STANDALONE","SP_USE_THREADS"],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include/c++/5",
"/usr/include/x86_64-linux-gnu/c++/5",
"/usr/include/c++/5/backward",
"/usr/lib/gcc/x86_64-linux-gnu/5/include",
"/usr/local/include",
"/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include",
"${workspaceRoot}",
"~/local/wx-3.1.0/lib/wx/include/gtk2-unicode-static-3.1",
"~/local/wx-3.1.0/include/wx-3.1",
"${workspaceRoot}/../lk/include",
"${workspaceRoot}/../ssc/solarpilot",
"${workspaceRoot}/../wex/include",
"${workspaceRoot}/../SolTrace/coretrace"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 3
}
27 changes: 27 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
// 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": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/deploy/linux/solarpilot",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/deploy/linux",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
36 changes: 36 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"version": "0.1.0",
"command": "make",
"isShellCommand": true,
"options": {
"cwd": "${workspaceRoot}/build_linux",
},
"tasks": [
{
"taskName": "Makefile",

// Make this the default build command.
"isBuildCommand": true,

// Show the output window only if unrecognized errors occur.
"showOutput": "always",

// No args
"args": ["all"],

// Use the standard less compilation problem matcher.
"problemMatcher": {
"owner": "cpp",
"fileLocation": ["relative", "${workspaceRoot}"],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
}
]
}

0 comments on commit ce84dc8

Please sign in to comment.