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

Update cmake build tools #347

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jingyuexing
Copy link

No description provided.

@alerque
Copy link
Member

alerque commented Mar 19, 2022

I'm curious why you call this an "update" since it seems to be adding CMake tooling from scratch. Did this originate somewhere else? I'm happy to consider this, but I'm a little hesitant to add an alternative build system before we clean up the one we have and get automated testing working properly. Also I'd like to hear what the use-case for this is that would make in worth the maintenance overhead above just having a normal LuaRocks based install. Lastly, will you be around to keep iterating on this as we possibly shuffle things around in the build. It would be good if we had somebody that was actually going to maintain the CMake side of things if we're going to include it here.

Copy link
Member

@alerque alerque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not in a position to test this, so (in addition to answering the questions in my other comment) automated tests will be required before we even consider merging. Consider rebasing or a merge from master after testing related PRs like #356 have landed. We'll want some sort of check to that confirms the CMake system is functional with the matching current source tree.

@alerque alerque marked this pull request as draft March 19, 2022 18:51
@jingyuexing
Copy link
Author

I'm curious why you call this an "update" since it seems to be adding CMake tooling from scratch. Did this originate somewhere else? I'm happy to consider this, but I'm a little hesitant to add an alternative build system before we clean up the one we have and get automated testing working properly. Also I'd like to hear what the use-case for this is that would make in worth the maintenance overhead above just having a normal LuaRocks based install. Lastly, will you be around to keep iterating on this as we possibly shuffle things around in the build. It would be good if we had somebody that was actually going to maintain the CMake side of things if we're going to include it here.

I believe there are many people who have the same problem as me, which is "cannot compile socket library on windows". Because makefiles are better for development environment on *nix systems

@alerque
Copy link
Member

alerque commented Nov 8, 2023

#415 added some Windows CI jobs checking the build on the Windows side of things, at least with MSCV. #315 also has some cmake related stuff with a different route to build. @leso-kn Any input here? I'm not a Windows guy at all. I'm happy to facilitate contributions but I'm kind of out of my depth on the Windows side of things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants