Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for vcpkg #11

Closed
BritishPiper opened this issue Nov 15, 2021 · 4 comments
Closed

Support for vcpkg #11

BritishPiper opened this issue Nov 15, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@BritishPiper
Copy link

The latest LuaBridge2 supports using vcpkg (https://vcpkg.info/port/luabridge).

Are there any plans to also include luabridge3?

@kunitoki
Copy link
Owner

kunitoki commented Nov 24, 2021

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?

@galsjel
Copy link

galsjel commented Apr 15, 2022

I found it easy to add to vcpkg by adding these files to vcpkg/ports/luabridge3/

luabridge3.zip

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++"
}

@kunitoki kunitoki added the enhancement New feature or request label Jun 4, 2022
@kunitoki
Copy link
Owner

PR is being opened microsoft/vcpkg#26600

@kunitoki
Copy link
Owner

kunitoki commented Oct 6, 2022

Merged!

Will bump vcpkg support as soon as we release new versions

@kunitoki kunitoki closed this as completed Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants