From af931ed04b4b4d59506fe0ba650647a39cc422dc Mon Sep 17 00:00:00 2001 From: Daniel Christoph <daniel.christoph@informatik.hu-berlin.de> Date: Sun, 26 Jan 2020 15:04:12 +0100 Subject: [PATCH] Update src/sim/plugins/CMakeLists.txt --- src/sim/plugins/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/sim/plugins/CMakeLists.txt diff --git a/src/sim/plugins/CMakeLists.txt b/src/sim/plugins/CMakeLists.txt new file mode 100644 index 0000000..57af593 --- /dev/null +++ b/src/sim/plugins/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 2.8 FATAL_ERROR) + +find_package(gazebo REQUIRED) +include_directories(${GAZEBO_INCLUDE_DIRS}) +link_directories(${GAZEBO_LIBRARY_DIRS}) +list(APPEND CMAKE_CXX_FLAGS "${GAZEBO_CXX_FLAGS}") + +add_library(hello_world SHARED hello_world.cc) +target_link_libraries(hello_world ${GAZEBO_LIBRARIES}) +add_library(model_push SHARED model_push.cc) +target_link_libraries(model_push ${GAZEBO_LIBRARIES}) -- GitLab