g1mv / density

Superfast compression library
Apache License 2.0
1.02k stars 48 forks source link

Don't rely on -I for includes #5

Closed g1mv closed 11 years ago

g1mv commented 11 years ago

Issue by nemequ from Wednesday Oct 16, 2013 at 21:15 GMT Originally opened as https://github.com/centaurean/sharc/issues/18


For other software wishing to embed SHARC, it would be nice if we could just include api.h and be done with it instead of passing a bunch of -I arguments to the C compiler.

g1mv commented 11 years ago

Comment by nemequ from Wednesday Oct 16, 2013 at 21:18 GMT


Another option would be a real build system and installing a shared library instead of requiring people to embed SHARC. This would also alleviate the pain of having to maintain a list of all the C files (currently 20) required.

g1mv commented 11 years ago

Has been implemented in the first libssc beta release (https://github.com/centaurean/libssc/tree/libssc-0.9.11-beta).