Skip to content

Commit

Permalink
Update CMake and vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Dec 13, 2021
1 parent b0e2128 commit ed63659
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}\\build\\LwOW.exe",
"program": "${workspaceFolder}\\build\\LwLibPROJECT.exe",
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe",
"args": [],
"stopAtEntry": false,
Expand Down
18 changes: 17 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -46,7 +62,7 @@
{
"type": "shell",
"label": "Run application",
"command": "${workspaceFolder}\\build\\LwOW.exe",
"command": "${workspaceFolder}\\build\\LwLibPROJECT.exe",
"args": [],
"problemMatcher": [],
},
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0.0)
project(LwOW VERSION 0.1.0)
project(LwLibPROJECT VERSION 0.1.0)

include(CTest)
enable_testing()
Expand Down

0 comments on commit ed63659

Please sign in to comment.