Skip to content

Add ability to compile as a library #6

Description

@cher-nov

Notes:

  • Preserve ability to use as plain sources too.
  • Add ability to run tests, get rid of hardcoded CodeBlocks project.
  • Modular library compilation (i.e. user should be able to choose only necessary data structures).
  • Use CMake (halp ;C).
  • Add safe compilation mode that will use -O2 instead of -O3, -fno-strict-aliasing etc. since the C standard is utterly retarded but GCC considers it as a honor to follow it.

A good example of talking some sense to GCC is here:
https://repo.or.cz/k8vavoom.git/blob/08d44a45c7eae3a1bebab49cbb1da4e66f522637:/CMakeLists.txt#l278

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions