From dcd85110a6b3123e928bba6f52c1f850faa19a71 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Wed, 15 May 2019 12:23:24 +0200 Subject: [PATCH] Setup exercise 2 --- .gitignore | 2 ++ .vscode/tasks.json | 21 +++++++++++++++++++++ exercise1/README.md | 4 ++++ 3 files changed, 27 insertions(+) create mode 100644 exercise1/README.md diff --git a/.gitignore b/.gitignore index e447364..6401f8b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ exercise1/build/ +exercise2/build/ + .vscode/ipch \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 237f2bb..d583758 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -22,6 +22,27 @@ "dependsOn": "Build Exercise 1", "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", "label": "g++ build active file", diff --git a/exercise1/README.md b/exercise1/README.md new file mode 100644 index 0000000..a4c9925 --- /dev/null +++ b/exercise1/README.md @@ -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. \ No newline at end of file