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

Compiling with AsmJit as a binary dependency? #17

Open
Crghilardi opened this issue Jan 29, 2022 · 1 comment
Open

Compiling with AsmJit as a binary dependency? #17

Crghilardi opened this issue Jan 29, 2022 · 1 comment

Comments

@Crghilardi
Copy link

In the current CMake configuration, AsmJit is assumed to be a source dependency and is included from themathpresso CMakeLists.txt. Once included, AsmJit gets statically compiled with the default CMake flags.

I was wondering if it would be possible to compile with AsmJit as a pre-compiled shared library?

@kobalicek
Copy link
Owner

kobalicek commented Jan 31, 2022

Hi, it would be possible. To be honest I didn't really overthink the CMakeLists.txt file while working on mathpresso as it was initially an example of using AsmJit. But it would be possible to add some option or something to link to it dynamically.

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