Skip to content

For storing most of my seedfinding-related files. This is also the place to submit issues relating to my reference guide "On Seedfinding".

License

Notifications You must be signed in to change notification settings

Nel-S/seedfinding

Repository files navigation

Seedfinding

This repository holds almost all of my seedfinding-related files and code.

C/C++ Compiling

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 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). If libcubiomes.a in turn needs to be updated, that can be done by installing CMake, entering the cubiomes submodule in a terminal, and running make libcubiomes on Linux/mingw32-make.exe libcubiomes on MinGW.

All #include paths in this repository are also standardized in relation to the parent directory seedfinding/: as such, when compiling the C programs one needs to specify that directory should be examined as well via -I"<path to seedfinding/>".

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" -I"<path to seedfinding/>" -o "<executable name>"

with optional compilation flags (-O3, -fwrapv, -Wall, etc.) listed afterwards.

On Seedfinding

This repository is also the place to raise issues relating to my reference guide "On Seedfinding", or to suggest (evidence-based) additions, deletions, or changes to it. (Please ensure any changes you suggest abide by the guide's Legal page.)

About

For storing most of my seedfinding-related files. This is also the place to submit issues relating to my reference guide "On Seedfinding".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published