imp
imp copied to clipboard
Use standard CMake macros to generate export headers
CMake provides a macro generate_export_header
that generates a header file with the necessary #define
s to export symbols. See, for example, salilab/mdt@e329212ce36c. May make sense to use that rather than our own scripts. (This also buys us -fvisibility=hidden
more or less for free.)