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

Add support for CMake #40

Closed
wants to merge 1 commit into from
Closed

Add support for CMake #40

wants to merge 1 commit into from

Conversation

Zalewa
Copy link

@Zalewa Zalewa commented Dec 10, 2020

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.

@jeanthom
Copy link

jeanthom commented Jan 3, 2021

Please use the mailing-list

@Zalewa
Copy link
Author

Zalewa commented Jan 3, 2021

Well then I guess it will be stuck here forever then.

@jeanthom
Copy link

jeanthom commented Jan 3, 2021

:(

@ramonGonzEdu
Copy link

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

@bellard
Copy link
Owner

bellard commented Mar 21, 2021

CMake won't be accepted in QuickJS.

@bellard bellard closed this Mar 21, 2021
@ryandesign
Copy link

CMake won't be accepted in QuickJS.

Could you explain why?

@FGasper
Copy link
Contributor

FGasper commented Jun 22, 2023

Is anything being merged to QuickJS nowadays?

@chqrlie
Copy link
Collaborator

chqrlie commented Jun 22, 2023 via email

@FGasper
Copy link
Contributor

FGasper commented Jun 22, 2023

@chqrlie does that mean GitHub PRs are now accepted? The repo’s metadata still says to send them to the mailing list.

cykoder pushed a commit to cykoder/quickjs that referenced this pull request Sep 1, 2023
…c_crash

fix: pending promise shouldn't release by gc and should free after runtime shutdown
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

Successfully merging this pull request may close these issues.

7 participants