Update CMake and vscode

This commit is contained in:
Tilen Majerle 2021-12-13 18:35:05 +01:00
parent 6a7a247d44
commit 1dba5ffad7
3 changed files with 19 additions and 3 deletions

2
.vscode/launch.json vendored
View File

@ -8,7 +8,7 @@
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}\\build\\LwSHELL.exe",
"program": "${workspaceFolder}\\build\\LwLibPROJECT.exe",
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe",
"args": [],
"stopAtEntry": false,

18
.vscode/tasks.json vendored
View File

@ -28,6 +28,22 @@
"isDefault": true
}
},
{
"type": "shell",
"label": "Rebuild project",
"command": "cmake",
"args": [
"--build",
"\"build\"",
"--clean-first"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
},
{
"type": "shell",
"label": "Clean project",
@ -46,7 +62,7 @@
{
"type": "shell",
"label": "Run application",
"command": "${workspaceFolder}\\build\\LwSHELL.exe",
"command": "${workspaceFolder}\\build\\LwLibPROJECT.exe",
"args": [],
"problemMatcher": [],
},

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0.0)
project(LwSHELL VERSION 0.1.0)
project(LwLibPROJECT VERSION 0.1.0)
include(CTest)
enable_testing()