JuliaMath / openspecfun

A collection of special mathematical functions
Other
35 stars 20 forks source link

Add CMakeLists.txt to support CMake build system. #61

Closed Ionizing closed 10 months ago

Ionizing commented 1 year ago

I just added CMakeLists.txt to support CMake build system. It is written according to Make.inc. Essential flags like -fno-gnu89-inline -std=c99 and -fno-builtin -std=c99 are included. The produced .a and .so are still not renamed to include platform labels since this file only makes it accessible to other languages via FFI (like Rust).

If more flags are required, just reply here.