[.vscode] Added.

master
Quentin Bazin 2020-08-01 18:12:00 +02:00
parent ca27a8823c
commit b1f0289d9e
4 changed files with 46 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,7 +7,6 @@ texturepacks/*
.#*
*~
.ycm_extra_conf.py
.vscode
# Compiled files
*.o

20
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Run openminer",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/build_mingw/openminer.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"preLaunchTask": "${defaultBuildTask}"
},
]
}

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
}

23
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,23 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "(Windows) Configure OpenMiner using MinGW",
"type": "shell",
"command": "cmake",
"args": ["-B", "build_mingw", "-G", "MinGW Makefiles", "."]
},
{
"label": "Compile OpenMiner using MinGW",
"type": "shell",
"command": "cmake --build build_mingw -j8",
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": "(Windows) Configure OpenMiner using MinGW"
}
]
}