iw5-mod/deps/premake/libHDiffPatch.lua
dependabot[bot] 7171c64eb3
Bump deps/HDiffPatch from eae33ca to 492b1b7 (#166)
* Bump deps/HDiffPatch from `eae33ca` to `492b1b7`

Bumps [deps/HDiffPatch](https://github.com/sisong/HDiffPatch) from `eae33ca` to `492b1b7`.
- [Release notes](https://github.com/sisong/HDiffPatch/releases)
- [Commits](eae33ca58a...492b1b7a82)

---
updated-dependencies:
- dependency-name: deps/HDiffPatch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix comp

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: FutureRave <edoardo.sanguineti222@gmail.com>
2022-10-11 14:37:59 +01:00

45 lines
971 B
Lua

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"),
path.join(libHDiffPatch.source, "HPatch"),
path.join(libHDiffPatch.source, "HPatchLite"),
}
end
function libHDiffPatch.project()
project "libHDiffPatch"
language "C++"
cppdialect "C++11"
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"),
path.join(libHDiffPatch.source, "HPatchLite/**.h"),
path.join(libHDiffPatch.source, "HPatchLite/**.c"),
}
warnings "Off"
kind "StaticLib"
end
table.insert(dependencies, libHDiffPatch)