feat(CTemplate): add basic .vscode and blank puzzle.input
This commit is contained in:
parent
8a4b3174b8
commit
e19fbc980b
24
C_Tempate/.vscode/launch.json
vendored
Normal file
24
C_Tempate/.vscode/launch.json
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"args": [],
|
||||
"stopAtEntry": true,
|
||||
"cwd": "${workspaceFolder}/build",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"linux": {
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "gdb",
|
||||
"program": "${workspaceFolder}/build/CTemplate",
|
||||
"args": [
|
||||
"../puzzle.input"
|
||||
]
|
||||
},
|
||||
"preLaunchTask": "build"
|
||||
}
|
||||
]
|
||||
}
|
42
C_Tempate/.vscode/tasks.json
vendored
Normal file
42
C_Tempate/.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build",
|
||||
"type": "shell",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"linux": {
|
||||
"command": "bash",
|
||||
"args": [
|
||||
"-c",
|
||||
"'mkdir -p build && cd build && cmake .. && make'"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "build & run",
|
||||
"type": "shell",
|
||||
"linux": {
|
||||
"command": "bash",
|
||||
"args": [
|
||||
"-c",
|
||||
"'make run'"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "clean",
|
||||
"type": "shell",
|
||||
"linux": {
|
||||
"command": "bash",
|
||||
"args": [
|
||||
"-c",
|
||||
"'cd build && make clean'"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
0
C_Tempate/puzzle.input
Normal file
0
C_Tempate/puzzle.input
Normal file
Loading…
x
Reference in New Issue
Block a user