Setup exercise 2

This commit is contained in:
hodasemi 2019-05-15 12:23:24 +02:00
parent 09edcfe383
commit dcd85110a6
3 changed files with 27 additions and 0 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
exercise1/build/ exercise1/build/
exercise2/build/
.vscode/ipch .vscode/ipch

21
.vscode/tasks.json vendored
View file

@ -22,6 +22,27 @@
"dependsOn": "Build Exercise 1", "dependsOn": "Build Exercise 1",
"problemMatcher": [] "problemMatcher": []
}, },
{
"label": "Build Exercise 2",
"type": "shell",
"command": "cd exercise2/build/cmake && cmake . && make -j16",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
}
},
{
"label": "Run Exercise 2",
"type": "shell",
"command": "exercise2/build/cmake/./exercise2",
"dependsOn": "Build Exercise 2",
"problemMatcher": []
},
{ {
"type": "shell", "type": "shell",
"label": "g++ build active file", "label": "g++ build active file",

4
exercise1/README.md Normal file
View file

@ -0,0 +1,4 @@
Ich benutze das Buildsystem Meson (https://mesonbuild.com/), weil ich auf Linux arbeite und deshalt kein VS zur Verfügung habe.
Des weiteren wird Ninja (https://ninja-build.org/) benötigt, welches ein moderner Ersatz für CMake ist.
Ich habe die Aufgaben selbstständig gelöst, wobei ich Gregor Mitzka intensiv geholfen habe und er dadurch sehr ähnliche Lösungen haben wird.