Programming tasks for ECG (filtered version)
This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Simon Bruder db4d489ae8 u01: Consistently use size_t and unsigned int
size_t should only be used for indexing. For all other purposes,
unsigned int should be used.
2023-05-09 23:25:04 +02:00
u01 u01: Consistently use size_t and unsigned int 2023-05-09 23:25:04 +02:00
.envrc Init project structure 2023-04-21 22:46:49 +02:00
.gitignore Init project structure 2023-04-21 22:46:49 +02:00
COPYING Licence under GPL v3 or later 2023-05-09 23:25:04 +02:00
flake.lock Init project structure 2023-04-21 22:46:49 +02:00
flake.nix u01: Init 2023-04-22 13:47:40 +02:00
gpl-3.0.txt Licence under GPL v3 or later 2023-05-09 23:25:04 +02:00
README.md Add note on compile_commands.json to readme 2023-05-09 23:25:04 +02:00

Programming tasks for ECG

This repository includes my solutions to the tasks for the module Einführung in die Computergraphik (Introduction to computer graphics) in the summer semester 2023 at the TU Dresden.

Each exercise includes a separate readme.txt that describes things specific to how I implemented the task. However, those documents are in German, which is a requirement.

Usage

Build

To build a specific exercise, you can use Nix with flake support:

nix build -L .#u01

You can also manually invoke CMake. This requires you to have all dependencies installed. Because this is not my preferred way, there is no canonical list of dependencies, but you can find them in flake.nix.

Development

You can use nix develop or direnv.

To create a compile_commands.json for ccls (or similar), create a build directory inside the exercise directory, and from that, execute:

cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=YES
ln -sf build/compile_commands.json ..

Licence

GPL-3.0-or-later. See COPYING and gpl-3.0.txt for details.