Skip to content

Commit 2ba0eae

Browse files
Initial commit
1 parent a2dae29 commit 2ba0eae

File tree

4 files changed

+101
-0
lines changed

4 files changed

+101
-0
lines changed

.gitignore

Whitespace-only changes.

.vscode/c_cpp_properties.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Linux",
5+
"includePath": [
6+
"${workspaceFolder}/**"
7+
],
8+
"defines": [],
9+
"compilerPath": "/usr/bin/clang",
10+
"cStandard": "c11",
11+
"cppStandard": "c++17",
12+
"intelliSenseMode": "clang-x64",
13+
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
14+
}
15+
],
16+
"version": 4
17+
}

.vscode/launch.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
5+
{
6+
"name": "Debug",
7+
"type": "cppdbg",
8+
"request": "launch",
9+
"program": "${workspaceFolder}/build/main",
10+
"args": [],
11+
"stopAtEntry": false,
12+
"cwd": "${workspaceRoot}",
13+
"environment": [],
14+
"externalConsole": true,
15+
"linux": {
16+
"MIMode": "gdb"
17+
},
18+
"osx": {
19+
"MIMode": "lldb"
20+
},
21+
"windows": {
22+
"MIMode": "gdb"
23+
}
24+
}
25+
]
26+
}

.vscode/tasks.json

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"type": "shell",
7+
"group": {
8+
"kind": "build",
9+
"isDefault": true
10+
},
11+
"windows": {
12+
"command": "powershell"
13+
},
14+
"linux": {
15+
"command": "g++"
16+
},
17+
"args": [
18+
"-c",
19+
"src/main.cpp",
20+
"-o build/main.o"
21+
]
22+
},
23+
{
24+
"label": "build & run",
25+
"type": "shell",
26+
"group": {
27+
"kind": "test",
28+
"isDefault": true
29+
},
30+
"windows": {
31+
"command": "powershell"
32+
},
33+
"linux": {
34+
"command": "bash"
35+
},
36+
"args": [
37+
"-c",
38+
"'make run'",
39+
"src/main.cpp"
40+
]
41+
},
42+
{
43+
"label": "clean",
44+
"type": "shell",
45+
"windows": {
46+
"command": "powershell"
47+
},
48+
"linux": {
49+
"command": "bash"
50+
},
51+
"args": [
52+
"-c",
53+
"'make clean'",
54+
"src/main.cpp"
55+
]
56+
}
57+
]
58+
}

0 commit comments

Comments
 (0)