mathpresso icon indicating copy to clipboard operation
mathpresso copied to clipboard

Compiling with AsmJit as a binary dependency?

Open Crghilardi opened this issue 4 years ago • 1 comments

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?

Crghilardi avatar Jan 29 '22 16:01 Crghilardi

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.

kobalicek avatar Jan 31 '22 14:01 kobalicek