sisong / HDiffPatch

a C\C++ library and command-line tools for Diff & Patch between binary files or directories(folder); cross-platform; runs fast; create small delta/differential; support large files and limit memory requires when diff & patch.
Other
1.52k stars 280 forks source link

能否让编译更简单? #374

Closed Wang-Taiping closed 7 months ago

Wang-Taiping commented 7 months ago

在编译前还需要下载第三方库的操作比较复杂,另外还会使目录结构变得更复杂。

如果我决定删除一些不在使用的本地存储库,我就要仔细区分究竟哪些属于该存储库,哪些不属于,这十分糟糕。

能否将这些第三方库放入源码目录,使其可随源码下载,如果认为这会占用存储库大小,则可以通过添加子模块的方式,将这些第三方库作为子模块,这可以避免占用存储库空间

sisong commented 7 months ago

你可以试试 https://github.com/sisong/HDiffPatch/releases/download/v4.6.9/hdiffpatch_v4.6.9_sources.zip

Wang-Taiping commented 7 months ago

谢谢,但这里可能有一个更有趣的做法,可以看一下吗? #375