Skip to content

Instantly share code, notes, and snippets.

View MaxClerkwell's full-sized avatar
🦖

Stephanos MaxClerkwell

🦖
View GitHub Profile
@MaxClerkwell
MaxClerkwell / CMakeLists.txt
Created October 29, 2022 18:45
Minimale CMake Datei für die Vorlesung "Einführung in die Programmierung"
# Zunächst muss definiert werden, welche
# CMake Version mindestens benötigt wird
# um dieses Script auszuführen
cmake_minimum_required(VERSION 3.10)
# Im Anschluss daran wird ein Projektname
# festgelegt, auf welchen auch später über
# Variablen innerhalb des CMake Files zu-
# gegriffen werden kann, in diesem Fall
# "HELLO"
@MaxClerkwell
MaxClerkwell / doxy2latex.json
Created October 6, 2022 20:40
This file was created using the Doxypressapp GUI for generating Doxypress-Configuration-Files. It can be seen as an example. The Parameter "input-source" in Line 265 is responsible for configuring which source files shall be read.
{
"clang": {
"clang-compilation-path": "",
"clang-dialect": "-std=c++20",
"clang-flags": [
""
],
"clang-include-input-source": true,
"clang-parsing": false,
"clang-use-headers": true
@MaxClerkwell
MaxClerkwell / tasks.json
Created September 29, 2022 15:15
Simple Build-Config for mingw
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++.exe build active file",
"command": "C:\\mingw64\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
@MaxClerkwell
MaxClerkwell / gist:095172ee27a6693378d435cc2249f8ff
Last active January 23, 2022 22:06
Compiling a Copperspice Example from WSL
Windows is one of the greatest operating systems ever built.
There is no doubt about that, but on the other hand it sometimes can be a real pain.
Especially when it comes to reproducable routines.
The Command-Promt features tools as running .bat files, but when it comes to ease of use, I personally prefer zsh.
zsh, bash or other text-based shells don't come with Windows naturally.
Anyway, it is possible to get these running.
One of the possibilities to achieve that is running the Windows-Subsystem-for-Linux, abbr. WSL.
WSL is a compatibility layer for Windows systems that makes it possible to run Linux executables.