mathpresso
mathpresso copied to clipboard
Compiling with AsmJit as a binary dependency?
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?
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.