update flatbuffers and entt (#422)

* update flatbuffers

* update entt
pull/423/head
Hoildkv 4 years ago committed by GitHub
parent 163215ad3d
commit 68fc348e5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/e/entt/xmake.lua
  2. 3
      packages/f/flatbuffers/xmake.lua

@ -5,6 +5,7 @@ package("entt")
set_urls("https://github.com/skypjack/entt/archive/$(version).tar.gz",
"https://github.com/skypjack/entt.git")
add_versions("v3.7.1", "fe3ce773c17797c0c57ffa97f73902854fcc8e7afc7e09bea373e0c64fa24a23")
add_versions("v3.7.0", "39ad5c42acf3434f8c37e0baa18a8cb562c0845383a6b4da17fdbacc9f0a7695")
add_versions("v3.6.0", "94b7dc874acd0961cfc28cf6b0342eeb0b7c58250ddde8bdc6c101e84b74c190")

@ -5,10 +5,13 @@ package("flatbuffers")
add_urls("https://github.com/google/flatbuffers/archive/v$(version).zip")
add_versions("1.12.0", "4b8b21adbfe8a74b90604161afcf87c125a26b86c99327e7a04525080606536c")
add_versions("2.0.0", "ffd68aebdfb300c9e82582ea38bf4aa9ce65c77344c94d5047f3be754cc756ea")
add_deps("cmake")
on_install("windows", "linux", "macosx", "mingw", "android", "iphoneos", function(package)
local configs = {"-DFLATBUFFERS_BUILD_TESTS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DFLATBUFFERS_BUILD_SHAREDLIB=" .. (package:config("shared") and "ON" or "OFF"))
if is_plat("android", "iphoneos") then
table.insert(configs, "-DFLATBUFFERS_BUILD_FLATC=OFF")
table.insert(configs, "-DFLATBUFFERS_BUILD_FLATHASH=OFF")

Loading…
Cancel
Save