This repository holds almost all of my seedfinding-related files and code.
This repository is loosely split into three parts.
- The programs themselves.
- A set of C/C++
main()
templates to link the programs to. - A Utilities library that will in many cases need to be linked as well. (This will eventually be replaced with a makefile.) Furthermore, most of the C programs using the Utilities library will need to link the Cubiomes library when being compiled, which can be done by including a reference to
libcubiomes.a
(a static compilation of the library). Iflibcubiomes.a
in turn needs to be updated, that can be done by installing CMake, entering thecubiomes
submodule in a terminal, and runningmake libcubiomes
on Linux/mingw32-make.exe libcubiomes
on MinGW.
As an example, compiling Extreme Climates/Extreme Climate At Coordinate.c
with pthreads would be done with
gcc "Extreme Climates/Extreme Climate At Coordinate.c" "Templates/Example main (pthreads).c" "Utilities/Math.c" "Utilities/Climates.c" "Utilities/Spawn.c" "libcubiomes.a" -o "<executable name>"
with optional compilation flags (-O3
, -fwrapv
, -Wall
, etc.) listed afterwards.