Skip to content

Commit

Permalink
Make dartsim/World.hh header private (#551)
Browse files Browse the repository at this point in the history
* Make dartsim/World.hh header private

Signed-off-by: Jose Luis Rivero <[email protected]>

* Remove install CMake code

Signed-off-by: Jose Luis Rivero <[email protected]>

---------

Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero authored Sep 26, 2023
1 parent 02e7b8f commit 578b4ed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions dartsim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ if (MSVC)
target_compile_options(${features} INTERFACE "/permissive-")
endif()

install(
DIRECTORY include/
DESTINATION "${GZ_INCLUDE_INSTALL_DIR_FULL}")

gz_get_libsources_and_unittests(sources test_sources)

# TODO(MXG): Think about a gz_add_plugin(~) macro for gz-cmake
Expand Down
3 changes: 2 additions & 1 deletion dartsim/src/AddedMassFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@
#include <gz/physics/sdf/ConstructLink.hh>
#include <gz/physics/sdf/ConstructModel.hh>
#include <gz/physics/sdf/ConstructWorld.hh>
#include <gz/physics/dartsim/World.hh>

#include <sdf/Link.hh>
#include <sdf/Root.hh>
#include <sdf/World.hh>

#include <test/Utils.hh>

#include "World.hh"

struct TestFeatureList : gz::physics::FeatureList<
gz::physics::GetEntities,
gz::physics::GetBasicJointState,
Expand Down
3 changes: 1 addition & 2 deletions dartsim/src/CustomFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@

#include <gz/physics/Implements.hh>

#include <gz/physics/dartsim/World.hh>

#include "Base.hh"
#include "World.hh"

namespace gz {
namespace physics {
Expand Down
4 changes: 2 additions & 2 deletions dartsim/src/SDFFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
#include <gz/physics/sdf/ConstructNestedModel.hh>
#include <gz/physics/sdf/ConstructWorld.hh>

#include <gz/physics/dartsim/World.hh>

#include <sdf/Collision.hh>
#include <sdf/Joint.hh>
#include <sdf/JointAxis.hh>
Expand All @@ -54,6 +52,8 @@

#include <test/Utils.hh>

#include "World.hh"

using namespace gz;

struct TestFeatureList : physics::FeatureList<
Expand Down
File renamed without changes.

0 comments on commit 578b4ed

Please sign in to comment.