jmacd / xdelta

open-source binary diff, delta/differential compression tools, VCDIFF/RFC 3284 delta compression
http://xdelta.org
1.1k stars 184 forks source link

Building libxdelta.so #217

Open lgpmichael2 opened 8 years ago

lgpmichael2 commented 8 years ago

OK so after much difficulty I finally managed to build xdelta3, hooray!

However there seems to be no libxdelta{.a,.so}, which is surprising as there is an API to code against.

Am I missing something? Or do I have to build in all of the source files into my own source or something?

holtzj commented 7 years ago

Was there any way of building libxdelta into a so? I'm trying to do the same without success

imeraj commented 6 years ago

Is it possible to use xdelta as a static or shared library? Is there any plan to do so?

adlingepa commented 5 years ago

I am also want this

jumbo533 commented 8 months ago

Does anybody have any updates in this?

marco-calautti commented 4 months ago

You can use my fork, which adds CMake support. You can read the README on how to build a static library.

You can use the function xd3_main_exec in the wrapper header, passing a vector of command line parameters accepted by the xdelta3 executable.