From c58a16e4df100bebbb1fc169c4ebb017eacd9a10 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Fri, 29 Dec 2023 13:33:03 +0300 Subject: [PATCH] More clear file name for simulation plugin, cleanup in CMakeLists --- gazebo/CMakeLists.txt | 3 +-- gazebo/{flix.cpp => simulator.cpp} | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename gazebo/{flix.cpp => simulator.cpp} (100%) diff --git a/gazebo/CMakeLists.txt b/gazebo/CMakeLists.txt index a8f919a..fe1c55f 100644 --- a/gazebo/CMakeLists.txt +++ b/gazebo/CMakeLists.txt @@ -10,9 +10,8 @@ list(APPEND CMAKE_CXX_FLAGS "${GAZEBO_CXX_FLAGS}") set(FLIX_SOURCE_DIR ../flix) include_directories(${FLIX_SOURCE_DIR}) -file(GLOB_RECURSE FLIX_INO_FILES ${FLIX_SOURCE_DIR}/*.ino) set(CMAKE_BUILD_TYPE RelWithDebInfo) -add_library(flix SHARED flix.cpp) +add_library(flix SHARED simulator.cpp) target_link_libraries(flix ${GAZEBO_LIBRARIES} ${SDL2_LIBRARIES}) target_include_directories(flix PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/gazebo/flix.cpp b/gazebo/simulator.cpp similarity index 100% rename from gazebo/flix.cpp rename to gazebo/simulator.cpp