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
Notes:
Use CMake (halp ;C).-O2instead of-O3,-fno-strict-aliasingetc. 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