- Changed assertions to abort to allow the build to fail on release
targets
- Fixed some wrong assertion
- Changed all stderr print to the respective macro
- Fix output for release builds
- Fix indentation
Revamp build system with CMake
- Completely removed config.h generation file, as it was not used
anywere in the code
- Removed all the old build files and switched to CMake (3.0+)
- As tl-parser only uses zlib for crc32, removing the dependency makes
the CMake file easier to maintain and makes the code building
without third party code. The crc32 implementation was taken from
abb3e47a98.
This simplifies the copyright management, as the old crc.{c,h}
had to be mentioned explicitly. This does NOT REALLY pull a new
dependency, as tgl already depends on -lz.
In fact, this ditches -lm, as the only usage (even including tgl)
was a single call to 'sqrt' from within crc32.c.