Skip to content

Commit 88d1091

Browse files
committed
update config
1 parent 7150baa commit 88d1091

File tree

5 files changed

+69
-1
lines changed

5 files changed

+69
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
*.iml
33
*.code-workspace
44
*.out
5-
.vscode
65
*.o
76
*.dSYM*

.vscode/c_cpp_properties.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Mac",
5+
"includePath": [
6+
"${workspaceFolder}/**"
7+
],
8+
"defines": [],
9+
"macFrameworkPath": [
10+
"/usr/include",
11+
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
12+
],
13+
"compilerPath": "/usr/bin/clang",
14+
"cStandard": "c11",
15+
"cppStandard": "c++17",
16+
"intelliSenseMode": "clang-x64"
17+
}
18+
],
19+
"version": 4
20+
}

.vscode/launch.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "2.0.0",
3+
"configurations": [
4+
{
5+
"name": "Launch",
6+
"type": "lldb",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/a.out",
9+
"args": [],
10+
"preLaunchTask": "build",
11+
}
12+
]
13+
}

.vscode/tasks.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "clang++",
7+
"type": "shell",
8+
"args": [
9+
"${file}",
10+
"-std=c++11",
11+
"-g"
12+
],
13+
"presentation": {
14+
"echo": true,
15+
"reveal": "always",
16+
"focus": false,
17+
"panel": "shared"
18+
},
19+
"problemMatcher": {
20+
"owner": "cpp",
21+
"fileLocation": [
22+
"relative",
23+
"${workspaceRoot}"
24+
],
25+
"pattern": {
26+
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
27+
"file": 1,
28+
"line": 2,
29+
"column": 3,
30+
"severity": 4,
31+
"message": 5
32+
}
33+
}
34+
}
35+
]
36+
}
File renamed without changes.

0 commit comments

Comments
 (0)