Skip to content

Commit

Permalink
Use HIDE_SYMBOLS_BY_DEFAULT (#576)
Browse files Browse the repository at this point in the history
Part of testing gazebosim/gz-cmake#392.

Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Co-authored-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
scpeters and j-rivero authored Nov 16, 2023
1 parent 9f982b0 commit 2b2db9c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ set(GZ_PHYSICS_ENGINE_INSTALL_DIR
# Configure the build
#============================================================================
gz_configure_build(QUIT_IF_BUILD_ERRORS
HIDE_SYMBOLS_BY_DEFAULT
COMPONENTS sdf heightmap mesh dartsim tpe bullet bullet-featherstone)


Expand Down
4 changes: 3 additions & 1 deletion dartsim/src/EntityManagementFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#include <string>

#include <gz/physics/dartsim-plugin/Export.hh>

#include <gz/physics/ConstructEmpty.hh>
#include <gz/physics/Shape.hh>
#include <gz/physics/GetEntities.hh>
Expand All @@ -43,7 +45,7 @@ struct EntityManagementFeatureList : FeatureList<
WorldModelFeature
> { };

class EntityManagementFeatures :
class GZ_PHYSICS_DARTSIM_PLUGIN_VISIBLE EntityManagementFeatures :
public virtual Base,
public virtual Implements3d<EntityManagementFeatureList>
{
Expand Down
4 changes: 3 additions & 1 deletion dartsim/src/SDFFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <string>
#include <utility>

#include <gz/physics/dartsim-plugin/Export.hh>

#include <gz/physics/sdf/ConstructCollision.hh>
#include <gz/physics/sdf/ConstructJoint.hh>
#include <gz/physics/sdf/ConstructLink.hh>
Expand Down Expand Up @@ -50,7 +52,7 @@ struct SDFFeatureList : FeatureList<
sdf::ConstructSdfVisual
> { };

class SDFFeatures :
class GZ_PHYSICS_DARTSIM_PLUGIN_VISIBLE SDFFeatures :
public virtual EntityManagementFeatures,
public virtual Implements3d<SDFFeatureList>
{
Expand Down

0 comments on commit 2b2db9c

Please sign in to comment.