Skip to content

Commit

Permalink
Merge 96e2cc1 into 7221109
Browse files Browse the repository at this point in the history
  • Loading branch information
scpeters authored May 1, 2023
2 parents 7221109 + 96e2cc1 commit ce86e34
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME}
gz-common${GZ_COMMON_VER}::profiler
gz-fuel_tools${GZ_FUEL_TOOLS_VER}::gz-fuel_tools${GZ_FUEL_TOOLS_VER}
gz-gui${GZ_GUI_VER}::gz-gui${GZ_GUI_VER}
gz-physics${GZ_PHYSICS_VER}::core
gz-rendering${GZ_RENDERING_VER}::core
gz-transport${GZ_TRANSPORT_VER}::gz-transport${GZ_TRANSPORT_VER}
gz-transport${GZ_TRANSPORT_VER}::parameters
sdformat${SDF_VER}::sdformat${SDF_VER}
Expand Down
1 change: 1 addition & 0 deletions test/integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ set(tests
hydrodynamics.cc
hydrodynamics_flags.cc
imu_system.cc
include_sim_hh.cc
joint.cc
joint_controller_system.cc
joint_position_controller_system.cc
Expand Down
27 changes: 27 additions & 0 deletions test/integration/include_sim_hh.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (C) 2023 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

#include <gtest/gtest.h>

#include <gz/sim.hh>

/////////////////////////////////////////////////
// Simple test to make sure it compiles
TEST(Compilation, sim_hh)
{
gz::sim::System system;
}

0 comments on commit ce86e34

Please sign in to comment.