Skip to content

EXPORT_HEADER

Compare
Choose a tag to compare
@TheLartians TheLartians released this 30 Mar 13:41
· 9 commits to master since this release
18beef4

This release adds a new feature: Export Headers!

Simply add the parameter EXPORT_HEADER, e.g. to EXPORT_HEADER "${PROJECT_NAME}/export.h", for CMake to generate an export header next to your version header file. This feature is useful for those writing a libraries that users should be able to link to both statically and dynamically.

Thanks to @ClausKlein for the implementation!