For using the handout code in TDT4102 with CMake.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
# C++ skeleton with graphlib and fltk
|
|
|
|
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
|
|
|
|
### Arch:
|
|
|
|
|
|
```sh
|
|
|
|
|
|
# use yay, pacaur or yaourt
|
|
|
|
|
|
yay -S mathgl blas fltk
|
|
|
|
|
|
# the `doxygen` package is optional for generation of html documentation
|
|
|
|
|
|
# Note: MathGl can take a while to build on slow systems – such as a laptop.
|
|
|
|
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
```sh
|
|
|
|
|
|
git clone --recursive https://voss.sarvern.no/zalox/cpp-skeleton-graphlib-fltk <project-name>
|
|
|
|
|
|
# with juci you can stop after this step and open the folder <project-name> is
|
|
|
|
|
|
# saved and press Ctrl+Enter
|
|
|
|
|
|
cd <project-name>
|
|
|
|
|
|
mkdir build
|
|
|
|
|
|
cd build
|
|
|
|
|
|
cmake ..
|
|
|
|
|
|
make
|
|
|
|
|
|
```
|
|
|
|
|
|
## NOTE
|
|
|
|
|
|
See notes in CMakeLists.txt
|