NOAA-EMC / NCEPLIBS-g2c

This library contains C decoder/encoder routines for GRIB edition 2.
Other
18 stars 11 forks source link

Enable static/shared libs in same build process. #410

Closed EricEngle-NOAA closed 1 year ago

EricEngle-NOAA commented 1 year ago

This commit allows for building of static and/or shared object library files in the same build process. These are controlled by cmake flags

-DBUILD_STATIC_LIBS=ON|OFF

-DBUILD_SHARED_LIBS=ON|OFF

The default for both is ON.

Further modifications were necessary to the other CMake config scripts to ensure successful runs in the new build workflow.

This commit references issue #408