Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use standard CMake macros to generate export headers #912

Open
benmwebb opened this issue Sep 8, 2015 · 0 comments
Open

Use standard CMake macros to generate export headers #912

benmwebb opened this issue Sep 8, 2015 · 0 comments
Assignees

Comments

@benmwebb
Copy link
Member

benmwebb commented Sep 8, 2015

CMake provides a macro generate_export_header that generates a header file with the necessary #defines 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.)

@benmwebb benmwebb self-assigned this Sep 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant