-
Notifications
You must be signed in to change notification settings - Fork 287
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
C++ visibility support #1040
Closed
Closed
C++ visibility support #1040
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
97468c3
Add export.h and hide symbols by default
jslee02 7e82bcd
Apply export macros
jslee02 9129ad6
Add DART_HIDE_ALL_SYMBOLS option
jslee02 a38ca13
Code format
jslee02 4dd81fd
Export missing ASSIMP definitions -- for test
jslee02 e3fd90e
Rename DART_EXPORT to DART_API
jslee02 024ac5a
Use manually written export.hpp
jslee02 9141345
Use unique export preprocessors per component
jslee02 c5eb4be
Update export preprocessor per components accordingly
jslee02 12aec1a
Minor cleanup
jslee02 e3f17f2
Update changelog
jslee02 cc638e0
Fix installation of export headers
jslee02 ed9a5df
Fix use of CMake variable
jslee02 d8de131
Fix install path of export.h
jslee02 11330ed
Use template file for export.hpp
jslee02 cec1d7c
Change naming pattern: DART_DETAIL_ --> DETAIL_DART_
jslee02 698a4ed
Hide symbols by default when dart_add_export_file() is used
jslee02 3da6e78
Rename dart_add_export_file to dart_generate_export_header
jslee02 f43af8c
Merge branch 'release-6.4' into build/visibility
jslee02 7af2a71
Merge remote-tracking branch 'origin/release-6.5' into build/visibility
jslee02 73e98ec
Add missing DART_API
jslee02 ff49098
Fix accidentally pushed commit
jslee02 7dce12d
Update CHANGELOG.md
jslee02 98444dd
Fix warnings per clang 9.1.0
jslee02 5f9fd41
Add more missing DART_API
jslee02 91d089e
Merge remote-tracking branch 'origin/release-6.5' into build/visibility
jslee02 ee0063c
Use DETAIL_DART_DEPRECATED
jslee02 9facf40
Add missing header
jslee02 a521359
Merge branch 'release-6.5' into build/visibility
jslee02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Automatically generated file by CMake | ||
|
||
#ifndef @header_guard_name@ | ||
#define @header_guard_name@ | ||
|
||
#include "@component_detail_export_path@" | ||
|
||
#define @base_name_upper@_API\ | ||
DETAIL_@base_name_upper@_API | ||
|
||
#define @base_name_upper@_DEPRECATED_API(version)\ | ||
DETAIL_@base_name_upper@_DEPRECATED_EXPORT | ||
|
||
#endif // @header_guard_name@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
namespace dart { | ||
namespace collision { | ||
|
||
class CollisionGroup | ||
class DART_API CollisionGroup | ||
{ | ||
public: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 would probably be much cleaner if we created a
export.hpp.in
and then calledconfigure_file
on it.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.
Agree. I wrote this lines because I thought each component requires individual
export.hpp.in
, but this is not true.