add bullet3

pull/26/head
ruki 6 years ago
parent 097fa239c1
commit 6a78fd32eb
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 36
      PKGLIST.md
  2. 21
      packages/b/bullet3/xmake.lua

@ -2,22 +2,26 @@
|linux|windows|mingw|iphoneos|macosx|android| |linux|windows|mingw|iphoneos|macosx|android|
|-----|-------|-----|--------|------|-------| |-----|-------|-----|--------|------|-------|
|boost|boost|catch2|catch2|autoconf|catch2|| |boost|boost|bullet3|bullet3|autoconf|bullet3||
|bzip2|bzip2|doctest|cjson|automake|cjson|| |bullet3|bullet3|catch2|catch2|automake|catch2||
|cairo|cairo|gtest|doctest|boost|doctest|| |bzip2|bzip2|concurrentqueue|cjson|boost|cjson||
|catch2|catch2|nlohmann_json|gtest|bzip2|gtest|| |cairo|cairo|cpp-taskflow|concurrentqueue|bullet3|concurrentqueue||
|cjson|doctest|spdlog|json-c|cairo|json-c|| |catch2|catch2|doctest|cpp-taskflow|bzip2|cpp-taskflow||
|doctest|expat|tbox|libcurl|catch2|libjpeg|| |cjson|concurrentqueue|gtest|doctest|cairo|doctest||
|expat|freeglut|zlib|libev|cjson|libpng|| |concurrentqueue|cpp-taskflow|nlohmann_json|gtest|catch2|gtest||
|ffmpeg|freetype||libffi|cmake|libuv|| |cpp-taskflow|doctest|spdlog|json-c|cjson|json-c||
|fontconfig|glew||libjpeg|doctest|libxml2|| |doctest|expat|tbox|libcurl|cmake|libjpeg||
|freeglut|go||libpng|expat|lua|| |expat|fmt|zlib|libev|concurrentqueue|libpng||
|freetype|gtest||libuv|ffmpeg|nlohmann_json|| |ffmpeg|freeglut||libffi|cpp-taskflow|libuv||
|gettext|libcurl||libxml2|fontconfig|spdlog|| |fmt|freetype||libjpeg|doctest|libxml2||
|glew|libjpeg||nlohmann_json|freetype|tbox|| |fontconfig|glew||libpng|expat|lua||
|glib|libpng||spdlog|gettext|zlib|| |freeglut|go||libuv|ffmpeg|nlohmann_json||
|go|libsdl||tbox|glew||| |freetype|gtest||libxml2|fmt|spdlog||
|gperf|libuv||zlib|glib||| |gettext|libcurl||nlohmann_json|fontconfig|tbox||
|glew|libjpeg||spdlog|freetype|zlib||
|glib|libpng||tbox|gettext|||
|go|libsdl||zlib|glew|||
|gperf|libuv|||glib|||
|gtest|lua|||go||| |gtest|lua|||go|||
|icu4c|luajit|||gperf||| |icu4c|luajit|||gperf|||
|json-c|nlohmann_json|||gtest||| |json-c|nlohmann_json|||gtest|||

@ -0,0 +1,21 @@
package("bullet3")
set_homepage("http://bulletphysics.org")
set_description("Bullet Physics SDK.")
set_urls("https://github.com/bulletphysics/bullet3/archive/$(version).zip",
"https://github.com/bulletphysics/bullet3.git")
add_versions("2.88", "f361d10961021a186b80821cfc1cfafc8dac48ce35f7d5e8de0943af4b3ddce4")
add_deps("cmake")
on_install(function (package)
local configs = {}
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:has_cxxfuncs("btVector3(0,0,0)", {includes = "bullet/LinearMath/btVector3.h"}))
end)
Loading…
Cancel
Save