jpsim / Yams

A Sweet and Swifty YAML parser.
https://jpsim.com/Yams
MIT License
1.12k stars 144 forks source link

build: use static linking for `CYaml` #386

Closed compnerd closed 1 year ago

compnerd commented 1 year ago

When building with SPM, the library will be built for static linking rather than dynamic linking. Use the YAML_DECLARE_STATIC to control this behaviour. Unlike CMake, we do not have fine-grained control over the artifact linkage.

compnerd commented 1 year ago

Yes please! That will allow the bump to the version in the dependents.

jpsim commented 1 year ago

This change is now out in 5.0.4: https://github.com/jpsim/Yams/releases/tag/5.0.4