hoene / libmysofa

Reader for AES SOFA files to get better HRTFs
Other
137 stars 73 forks source link

Implement CMake target exporting. #204

Closed andreasfranck closed 1 year ago

andreasfranck commented 1 year ago

This pull request adds exported CMake targets to libmysofa, making usage from other CMake-based projects easier.

The implementation follows the guide https://cmake.org/cmake/help/latest/guide/importing-exporting/index.html .

Added build and usage instructions to the README, please adjust or ask for amendments where needed.

Also, please change or advise on naming (e.g., the project name (mysofa) and namespace name for the exported targets (mysofa::), whether it should be capitalized, ...

Note that the change adds new files in to generated packages (e.g., .deb), this would need to be communicated to package maintainers.