accurate-kosinski icon indicating copy to clipboard operation
accurate-kosinski copied to clipboard

Update CMakeLists and start building shared library

Open VanderCat opened this issue 1 year ago • 1 comments

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)

VanderCat avatar Mar 25 '23 14:03 VanderCat