2018-12-26 07:16:21 -05:00
|
|
|
libHDiffPatch = {
|
|
|
|
source = path.join(dependencies.basePath, "HDiffPatch/libHDiffPatch"),
|
|
|
|
}
|
|
|
|
|
|
|
|
function libHDiffPatch.import()
|
|
|
|
links {
|
|
|
|
"libHDiffPatch"
|
|
|
|
}
|
|
|
|
|
|
|
|
libHDiffPatch.includes()
|
|
|
|
end
|
|
|
|
|
|
|
|
function libHDiffPatch.includes()
|
|
|
|
includedirs {
|
|
|
|
path.join(libHDiffPatch.source, "HDiff"),
|
2018-12-26 10:28:16 -05:00
|
|
|
path.join(libHDiffPatch.source, "HPatch"),
|
2022-05-26 04:51:23 -04:00
|
|
|
path.join(libHDiffPatch.source, "HPatchLite"),
|
2018-12-26 07:16:21 -05:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
function libHDiffPatch.project()
|
|
|
|
project "libHDiffPatch"
|
|
|
|
language "C"
|
|
|
|
|
|
|
|
libHDiffPatch.includes()
|
|
|
|
|
|
|
|
files {
|
|
|
|
path.join(libHDiffPatch.source, "HDiff/**.h"),
|
|
|
|
path.join(libHDiffPatch.source, "HDiff/**.c"),
|
|
|
|
path.join(libHDiffPatch.source, "HDiff/**.cpp"),
|
|
|
|
|
|
|
|
path.join(libHDiffPatch.source, "HPatch/**.h"),
|
|
|
|
path.join(libHDiffPatch.source, "HPatch/**.c"),
|
2022-05-26 04:51:23 -04:00
|
|
|
|
|
|
|
path.join(libHDiffPatch.source, "HPatchLite/**.h"),
|
|
|
|
path.join(libHDiffPatch.source, "HPatchLite/**.c"),
|
2018-12-26 07:16:21 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
warnings "Off"
|
|
|
|
kind "StaticLib"
|
|
|
|
end
|
|
|
|
|
|
|
|
table.insert(dependencies, libHDiffPatch)
|