Skip to content

Commit 578b4ed

Browse files
authored
Make dartsim/World.hh header private (#551)
* Make dartsim/World.hh header private Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * Remove install CMake code Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> --------- Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
1 parent 02e7b8f commit 578b4ed

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

dartsim/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ if (MSVC)
1111
target_compile_options(${features} INTERFACE "/permissive-")
1212
endif()
1313

14-
install(
15-
DIRECTORY include/
16-
DESTINATION "${GZ_INCLUDE_INSTALL_DIR_FULL}")
17-
1814
gz_get_libsources_and_unittests(sources test_sources)
1915

2016
# TODO(MXG): Think about a gz_add_plugin(~) macro for gz-cmake

dartsim/src/AddedMassFeatures_TEST.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@
3232
#include <gz/physics/sdf/ConstructLink.hh>
3333
#include <gz/physics/sdf/ConstructModel.hh>
3434
#include <gz/physics/sdf/ConstructWorld.hh>
35-
#include <gz/physics/dartsim/World.hh>
3635

3736
#include <sdf/Link.hh>
3837
#include <sdf/Root.hh>
3938
#include <sdf/World.hh>
4039

4140
#include <test/Utils.hh>
4241

42+
#include "World.hh"
43+
4344
struct TestFeatureList : gz::physics::FeatureList<
4445
gz::physics::GetEntities,
4546
gz::physics::GetBasicJointState,

dartsim/src/CustomFeatures.hh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020

2121
#include <gz/physics/Implements.hh>
2222

23-
#include <gz/physics/dartsim/World.hh>
24-
2523
#include "Base.hh"
24+
#include "World.hh"
2625

2726
namespace gz {
2827
namespace physics {

dartsim/src/SDFFeatures_TEST.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
#include <gz/physics/sdf/ConstructNestedModel.hh>
4444
#include <gz/physics/sdf/ConstructWorld.hh>
4545

46-
#include <gz/physics/dartsim/World.hh>
47-
4846
#include <sdf/Collision.hh>
4947
#include <sdf/Joint.hh>
5048
#include <sdf/JointAxis.hh>
@@ -54,6 +52,8 @@
5452

5553
#include <test/Utils.hh>
5654

55+
#include "World.hh"
56+
5757
using namespace gz;
5858

5959
struct TestFeatureList : physics::FeatureList<
File renamed without changes.

0 commit comments

Comments
 (0)