-
Notifications
You must be signed in to change notification settings - Fork 791
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
Only export public symbols on non-windows platforms [11754] #1998
Conversation
…eprosima. Signed-off-by: Miguel Company <miguelcompany@eProsima.com>
Signed-off-by: Miguel Company <miguelcompany@eProsima.com>
Signed-off-by: Miguel Company <miguelcompany@eProsima.com>
Signed-off-by: Miguel Company <miguelcompany@eProsima.com>
f71df25
to
1087e79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though @MiguelBarro knows more about CMake and might see some issue.
Signed-off-by: Barro <miguelbarro@eprosima.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@MiguelBarro CMake documentation on CheckCXXSourceCompiles specifically mentions Was I mistaken? |
…riable" This reverts commit 8ec1fec. Signed-off-by: Barro <miguelbarro@eprosima.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using CMAKE_REQUESTED_FLAGS is acceptable because its documented within the check module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 😅
This should fix #1994 by using LD version scripts to control the list of exported symbols.