Git Product home page Git Product logo

Comments (4)

kunitoki avatar kunitoki commented on June 25, 2024

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?

from luabridge3.

thedaneeffect avatar thedaneeffect commented on June 25, 2024

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

from luabridge3.

kunitoki avatar kunitoki commented on June 25, 2024

PR is being opened microsoft/vcpkg#26600

from luabridge3.

kunitoki avatar kunitoki commented on June 25, 2024

Merged!

Will bump vcpkg support as soon as we release new versions

from luabridge3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.