Comments (4)
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.
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++"
}
from luabridge3.
PR is being opened microsoft/vcpkg#26600
from luabridge3.
Merged!
Will bump vcpkg support as soon as we release new versions
from luabridge3.
Related Issues (20)
- addConstructorFrom with callable args missing HOT 3
- error converting void func( const char **xs ); HOT 11
- String property that accepts numbers HOT 1
- Error when trying to print metatable HOT 1
- Allow to add metamethods from Lua HOT 7
- Fails to build with clang 16 and libc++ HOT 1
- void* problem when addConstructor and addFunction HOT 5
- `LuaRef::isInstance()` fails on const references HOT 9
- TypeResult<T> does not expose valueOr() convenience method HOT 1
- `makeUnexpected()` in `Set.h` causes compilation errors HOT 2
- std::map<std::string, std::string> in lua HOT 3
- Namespace registration fails on assert when split across separate calls HOT 1
- C++ functions that take null pointer arguments HOT 2
- Lua error crashes host with CFunction but not typed function. HOT 22
- Recent LB3 Change Causes my code not to compile. HOT 2
- Linker error when building project submodules: /usr/bin/ld: cannot find -lreadline HOT 2
- Compiler error use of deleted function luabridge::TypeResult<T>::TypeResult(...) HOT 6
- Enhancement Request: Custom error function for `lua_pcall`. HOT 11
- Error C3861 (using with Luau) HOT 3
- Can I cast types inside Lua? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luabridge3.