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 GenerateExportHeader module from cmake #8070

Closed
mshabunin opened this issue Jan 25, 2017 · 2 comments
Closed

Use GenerateExportHeader module from cmake #8070

mshabunin opened this issue Jan 25, 2017 · 2 comments

Comments

@mshabunin
Copy link
Contributor

Detailed description

Consider using GenerateExportHeader cmake module to handle compiler visibility flags, export and deprecate definitions. Extensive testing of dynamic and static builds is needed.

@paroj
Copy link
Contributor

paroj commented Jan 27, 2017

additional macros defined by CMake:

  • CV_NO_DEPRECATED - eclude deprecated symbols from build
  • CV_DEPRECATED_EXPORT - deprecated and exported symbols
  • CV_NO_EXPORT - explicitly mark symbols private

@mshabunin
Copy link
Contributor Author

We decided to use our own definitions for more precise control instead of cmake module: #8198

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

2 participants