google / gemmlowp

Low-precision matrix multiplication
Apache License 2.0
1.77k stars 451 forks source link

Build static or shared libraries for all platforms #208

Closed planetmarshall closed 2 years ago

planetmarshall commented 2 years ago

Allow building static or shared libraries for all platforms instead of hardcoding this option in the cmake file. Allows the client to choose the configuration based on the value of the standard CMake option BUILD_SHARED_LIBS.

Tested on local git workflow (see https://github.com/planetmarshall/gemmlowp/actions/runs/1392699171)