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

Switch build system to XMake? #30

Closed
dargueta opened this issue Dec 28, 2021 · 1 comment
Closed

Switch build system to XMake? #30

dargueta opened this issue Dec 28, 2021 · 1 comment

Comments

@dargueta
Copy link

dargueta commented Dec 28, 2021

Right now I can't install this via LuaRocks because Meson isn't installed on our systems. Furthermore, adding cffi-lua as a dependency makes Meson a transitive dependency for building my library.

I was wondering if it'd be possible to switch over to using xmake as the build system? It'll provide a number of advantages:

  • There's a LuaRocks plugin you can add as a build-time dependency that'll automatically install it if it's not available. This means that users don't need to install XMake themselves.
  • XMake's configuration is literally just plain Lua.
  • You can use XMake's package management to install libffi if it's not installed already.
  • XMake is cross-platform.

This means that all users need to install cffi-lua is some version of Lua, an appropriate C++ compiler, and either XMake or LuaRocks depending on how they're installing it.

@q66
Copy link
Owner

q66 commented Dec 28, 2021

i don't have any plans to switch build systems, sorry; i generally don't use luarocks either, it's provided pretty much as a supplementary thing, the primary way is to just use meson

meson is also portable/cross-platform, there shouldn't be any reason you can't install it

@q66 q66 closed this as completed Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants