Experiment in graphics programming, C++, OpenGL, simulation techniques.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
3 | 04 Aug 2023 22:32 | f2ac8af | Create base Engine class | Josh Stockin | 1 | 1 | 1 | G |
1 | #!/usr/bin/env bash |
2 | |
3 | BRIGHT_RED="\e[31;1m" |
4 | BRIGHT_GREEN="\e[32;1m" |
5 | RESET="\e[0m" |
6 | |
7 | function error { |
8 | echo -e "${BRIGHT_RED}Build error${RESET}" |
9 | exit 1 |
10 | } |
11 | |
12 | mkdir -p build/ |
13 | cd build/ |
14 | cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. || error |
15 | ninja || error |
16 | |
17 | echo -e "${BRIGHT_GREEN}Build success${RESET}" |
18 | echo "Running..." |
19 | echo "-------- PROGRAM START ---------" |
20 | ./zydeco |
21 | EC=$? |
22 | echo "--------- PROGRAM END ----------" |
23 | echo "Exited with $EC" |
24 |