EXPORT_HEADER
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!