mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-22 23:20:00 +00:00
vscode: Linux: add release configurations
This commit is contained in:
parent
5454456cb3
commit
324f84750b
25
.vscode/launch.json
vendored
25
.vscode/launch.json
vendored
|
@ -6,8 +6,8 @@
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"externalConsole": false,
|
"externalConsole": false,
|
||||||
"name": "(gdb) Launch",
|
"name": "(gdb) Launch (Debug)",
|
||||||
"preLaunchTask": "Compile (Linux x64)",
|
"preLaunchTask": "Compile (Debug Linux x64)",
|
||||||
"program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3",
|
"program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Debug/re3",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"setupCommands": [
|
"setupCommands": [
|
||||||
|
@ -20,6 +20,27 @@
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
"targetArchitecture": "x64",
|
"targetArchitecture": "x64",
|
||||||
"type": "cppdbg"
|
"type": "cppdbg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"MIMode": "gdb",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"name": "(gdb) Launch (Release)",
|
||||||
|
"preLaunchTask": "Compile (Release Linux x64)",
|
||||||
|
"program": "${workspaceFolder}/bin/linux-amd64-librw_gl3_glfw-oal/Release/re3",
|
||||||
|
"request": "launch",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for gdb",
|
||||||
|
"ignoreFailures": true,
|
||||||
|
"text": "-enable-pretty-printing"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"targetArchitecture": "x64",
|
||||||
|
"type": "cppdbg"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "0.2.0"
|
"version": "0.2.0"
|
||||||
|
|
31
.vscode/tasks.json
vendored
31
.vscode/tasks.json
vendored
|
@ -1,12 +1,4 @@
|
||||||
{
|
{
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"default": "5",
|
|
||||||
"description": "Number of jobs to run simultaneously when compiling",
|
|
||||||
"id": "numberOfJobs",
|
|
||||||
"type": "promptString"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"args": ["--with-librw", "gmake2"],
|
"args": ["--with-librw", "gmake2"],
|
||||||
|
@ -17,7 +9,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"-j${input:numberOfJobs}",
|
"-j5",
|
||||||
"config=debug_linux-amd64-librw_gl3_glfw-oal",
|
"config=debug_linux-amd64-librw_gl3_glfw-oal",
|
||||||
"verbose=1"
|
"verbose=1"
|
||||||
],
|
],
|
||||||
|
@ -27,7 +19,26 @@
|
||||||
"isDefault": true,
|
"isDefault": true,
|
||||||
"kind": "build"
|
"kind": "build"
|
||||||
},
|
},
|
||||||
"label": "Compile (Linux x64)",
|
"label": "Compile (Debug Linux x64)",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/build"
|
||||||
|
},
|
||||||
|
"problemMatcher": "$gcc",
|
||||||
|
"type": "shell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"args": [
|
||||||
|
"-j5",
|
||||||
|
"config=release_linux-amd64-librw_gl3_glfw-oal",
|
||||||
|
"verbose=1"
|
||||||
|
],
|
||||||
|
"command": "make",
|
||||||
|
"dependsOn": "Premake (Linux)",
|
||||||
|
"group": {
|
||||||
|
"isDefault": true,
|
||||||
|
"kind": "build"
|
||||||
|
},
|
||||||
|
"label": "Compile (Release Linux x64)",
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/build"
|
"cwd": "${workspaceFolder}/build"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue