Fix build and sloppy build errors
This commit is contained in:
parent
b574b9040b
commit
cc03214142
4 changed files with 55 additions and 32 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
exercise1/build/
|
||||
exercise2/build/
|
||||
exercise3/build/
|
||||
|
||||
.vscode/ipch
|
21
.vscode/tasks.json
vendored
21
.vscode/tasks.json
vendored
|
@ -36,6 +36,27 @@
|
|||
"clear": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run Exercise 3",
|
||||
"type": "shell",
|
||||
"command": "exercise3/build/cmake/./exercise3",
|
||||
"dependsOn": "Build Exercise 3",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build Exercise 3",
|
||||
"type": "shell",
|
||||
"command": "cd exercise3/build/cmake && cmake . && make -j4",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": false,
|
||||
"panel": "shared",
|
||||
"showReuseMessage": true,
|
||||
"clear": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run Exercise 2",
|
||||
"type": "shell",
|
||||
|
|
|
@ -55,4 +55,4 @@ add_executable(exercise3
|
|||
)
|
||||
|
||||
# Bibliotheken linken
|
||||
target_link_libraries(exercise3 ${OPENGL_LIBRARIES} ${GLUT_LIBRARY})
|
||||
target_link_libraries(exercise3 ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} -lpthread)
|
||||
|
|
|
@ -22,6 +22,7 @@ At the end of this file the data types "point2d", "point3d" and
|
|||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <numeric>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
Loading…
Reference in a new issue