LuaBridge3
LuaBridge3 copied to clipboard
Support for vcpkg
The latest LuaBridge2 supports using vcpkg (https://vcpkg.info/port/luabridge).
Are there any plans to also include luabridge3?
Yeah nice idea, need to only understand what's needed to make a package. Do you know what are the steps to get a library into vcpkg ?
p.s. What about conan?
I found it easy to add to vcpkg by adding these files to vcpkg/ports/luabridge3/
portfile.cmake
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO kunitoki/LuaBridge3
REF 46963493b262ca81e432285a522455eaeb2aae10
SHA512 a901fd9979b06ddb1a7b27d311d59c03dddc3de309c8a784b3b9c1632818d3186b5ab03f49b396f3a064562d123489ad71c5ddd7179e37bd15bcccf892075b04
HEAD_REF master
)
file(
COPY ${SOURCE_PATH}/Source/LuaBridge
DESTINATION ${CURRENT_PACKAGES_DIR}/include
)
configure_file(
${SOURCE_PATH}/README.md
${CURRENT_PACKAGES_DIR}/share/luabridge3/copyright
COPYONLY
)
vcpkg.json:
{
"name": "luabridge3",
"version-string": "3",
"port-version": 1,
"description": "A lightweight, dependency-free library for binding Lua to C++"
}
PR is being opened https://github.com/microsoft/vcpkg/pull/26600
Merged!
Will bump vcpkg support as soon as we release new versions