feat(CTemplate): add basic .vscode and blank puzzle.input

This commit is contained in:
Jiří Štefka 2023-12-11 04:32:06 +01:00
parent 8a4b3174b8
commit e19fbc980b
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
3 changed files with 66 additions and 0 deletions

24
C_Tempate/.vscode/launch.json vendored Normal file
View 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
View 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
View file