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
2023-06-06 13:33:36 +02:00
.reuse Use reuse specification 2023-05-18 10:53:22 +02:00
LICENSES Use reuse specification 2023-05-18 10:53:22 +02:00
u01 CMake: Enable warnings 2023-05-20 12:35:45 +02:00
u02 u02: Fix warnings by -Wextra 2023-05-20 11:55:58 +02:00
u03/dependencies/qdbmp u03: Fix warnings by -Wextra 2023-05-20 12:35:45 +02:00
.envrc Init project structure 2023-04-21 22:46:49 +02:00
.gitattributes u03: Add skeleton 2023-05-18 09:47:17 +02:00
.gitignore Init project structure 2023-04-21 22:46:49 +02:00
archive.sh Add script for creating archive 2023-05-18 09:28:41 +02:00
filter.sh Use reuse specification 2023-05-18 10:53:22 +02:00
flake.lock flake.{nix,lock}: Update 2023-05-09 23:47:47 +02:00
flake.nix flake: Add clang variant 2023-05-20 11:20:43 +02:00
README.md Use reuse specification 2023-05-18 10:53:22 +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.

Note: Due to copyright restrictions, I am not allowed to publish many of my solutions. The repository ecg-prog-filtered only includes files solely written by me. It is filtered with the filter.sh script. Please dont rely on the history of this repository, as rewriting is part of how it can exist. See Licence for more information on the licencing.

If you want access to all of my solutions, please write me an email (or contact me in another way), Ill see what I can do.

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

This project is REUSE compliant. Please use the reuse specification for finding out, what licence each file is under.

The published version only includes files under free software licences. Sadly, that makes them very incomplete, because most implementations done by me are in files from the template, which makes my additions a derivative work.