accurate-kosinski
accurate-kosinski copied to clipboard
Update CMakeLists and start building shared library
CMakeLists.txt was formatted poorly, lots of repetition, no flexibility. I refactored it to build shared library (e.g. .dll on Windows or .so on Linux) in order to make it more lightweight. Also projects can use this as a library now
List of changes:
- Added exports
- CMakeLists
- Removed repetition
- Renamed all kosinski_ prefixes to just k (kosinski_compress -> kcompress, kosinskim_compare -> kmcompare)
- Added extra options:
- Only build library
- Build kcompare (disabled by default as it's only used for tests)
- Enable debug information (it's no longer extra files with _d suffix)