-
Notifications
You must be signed in to change notification settings - Fork 921
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
Add support for CMake #40
Conversation
Well then I guess it will be stuck here forever then. |
:( |
FYI, you can get the patch file by adding .patch to a pull req, eg. https://github.com/bellard/quickjs/pull/40.patch and then easily send it to the mailing list |
CMake won't be accepted in QuickJS. |
Could you explain why? |
Is anything being merged to QuickJS nowadays? |
Hello,
I have been away for a while, but I intend to work on merging patches by the end of the month.
Best
Chqrlie.
… On 22 Jun 2023, at 14:31, Felipe Gasper ***@***.***> wrote:
Is anything being merged to QuickJS nowadays?
—
Reply to this email directly, view it on GitHub <#40 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE5F5KRBAVPJKCNU7O4MMDTXMQ3LDANCNFSM4UU4IPJA>.
You are receiving this because you are subscribed to this thread.
|
@chqrlie does that mean GitHub PRs are now accepted? The repo’s metadata still says to send them to the mailing list. |
…c_crash fix: pending promise shouldn't release by gc and should free after runtime shutdown
CMake is a build configurator which can generate build recipes for many different build systems. Not only it's able to automatically create the makefiles, it can also create solutions for IDEs, including the MSVC. The support for building on Windows comes with it out-of-the-box. It also supports cross-compilation for any platform and clang.
CMakeLists.txt can replace the Makefile completely. I haven't removed the existing
makefile
in this PR because I haven't transplanted all of the targets (as this wasn't my goal) and the CMake recipe only can build the main library.This also defines the 'install' target which honors the FHS and replicates how the existing
makefile
installs the library and the headers. quickjs installed this way is automatically findable by other projects that support CMake.