herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
450 stars 152 forks source link

Improve cmake based build #84

Closed amin-jabri closed 3 years ago

amin-jabri commented 3 years ago

This PR improves on cmake build and provides a convenience build shell script to build the library on Linux, macOS and Windows (using Git Bash). Additionally, it allows C# native binding to be built on Linux and macOS.

herumi commented 3 years ago

Thank you for the patch. I removed mclshe and mclecdsa and higher-bit level. https://github.com/herumi/mcl/tree/cmake How about it?

herumi commented 3 years ago

GMP and OpenSSL doesn't affect the performance of BLS signature, so I think that to disable them is better especially for Windows.

amin-jabri commented 3 years ago

Thank you for the patch. I removed mclshe and mclecdsa and higher-bit level. https://github.com/herumi/mcl/tree/cmake How about it?

Thanks for checking and amending. It works fine!