mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
update template to use makefile
This commit is contained in:
32
.vscode/launch.json
vendored
32
.vscode/launch.json
vendored
@@ -2,30 +2,20 @@
|
||||
"version": "2.0.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "(gdb) C Launch",
|
||||
"type": "cppdbg",
|
||||
"name": "(lldb) C Launch",
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/linux-86_64/${workspaceFolderBasename}",
|
||||
"program": "",
|
||||
"linux": {
|
||||
"program": "${workspaceFolder}/bin/linux-x86_64/sdl_template",
|
||||
"preLaunchTask": "build linux-x86_64"
|
||||
},
|
||||
"windows": {
|
||||
"program": "${workspaceFolder}/bin/win-x86_64/sdl_template",
|
||||
"preLaunchTask": "build win-x86_64"
|
||||
},
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"miDebuggerPath": "/usr/bin/gdb",
|
||||
"MIMode": "gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
{
|
||||
"description": "Set Disassembly Flavor to Intel",
|
||||
"text": "-gdb-set disassembly-flavor intel",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"preLaunchTask": "build linux86_64"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
35
.vscode/tasks.json
vendored
35
.vscode/tasks.json
vendored
@@ -1,18 +1,16 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "build linux86_64",
|
||||
"command": "./build.sh",
|
||||
"label": "build linux-x86_64",
|
||||
"command": "make",
|
||||
"args": [
|
||||
"linux86_64"
|
||||
"linux-x86_64"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
@@ -21,17 +19,14 @@
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "build win86_64",
|
||||
"command": "./build.sh",
|
||||
"label": "build win-x86_64",
|
||||
"command": "make",
|
||||
"args": [
|
||||
"win86_64"
|
||||
"win-x86_64"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
@@ -41,22 +36,26 @@
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "build web",
|
||||
"command": "./build.sh",
|
||||
"command": "make",
|
||||
"args": [
|
||||
"web"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
},
|
||||
"detail": "builds the program for web using emscripten"
|
||||
},
|
||||
{
|
||||
"label": "create compile_commands.json",
|
||||
"type": "shell",
|
||||
"command": "bear -- make",
|
||||
"runOptions": {
|
||||
"runOn": "folderOpen"
|
||||
}
|
||||
}
|
||||
],
|
||||
"version": "2.0.0"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user