BinomialLLC / crunch

Advanced DXTc texture compression and transcoding library
http://binomial.info
Other
851 stars 183 forks source link

Add support for autotools build system for Linux/macOS #27

Open haxpor opened 5 years ago

haxpor commented 5 years ago

This will make it more convenient for Linux/macOS users to have static & shared library as well as header files installed on users' system. Easier for development and integrate.

Tested only on Ubuntu 18.04. But it should be very same on macOS.

Note 2 things

  1. This doesn't take into account of supporting build on Windows yet as I see it's heavily based on visual studio already.
  2. 3 examples are not included in the build flow due to it needs more modifications as certain example uses thread, etc. Might tackle this in the future.

PS. related to https://github.com/BinomialLLC/crunch/issues/17 as along the process, I have to add a couple of casting in 2 lines to pass the complier error of ambiguous function call.

illwieckz commented 3 years ago

First commit seems to have been merged in #25.