From 704a3efb9c70018d54c14f067e1adf6471414a09 Mon Sep 17 00:00:00 2001
From: Paul D'Angio <pcdangio@gmail.com>
Date: Mon, 26 Oct 2020 23:02:56 -0400
Subject: [PATCH] cleaned up CMakeLists.txt for msgs

---
 driver_mpu9250_msgs/CMakeLists.txt | 47 ++----------------------------
 1 file changed, 3 insertions(+), 44 deletions(-)

diff --git a/driver_mpu9250_msgs/CMakeLists.txt b/driver_mpu9250_msgs/CMakeLists.txt
index 04b0dc4..8d76060 100644
--- a/driver_mpu9250_msgs/CMakeLists.txt
+++ b/driver_mpu9250_msgs/CMakeLists.txt
@@ -1,39 +1,10 @@
 cmake_minimum_required(VERSION 3.0.2)
 project(driver_mpu9250_msgs)
 
-## Compile as C++11, supported in ROS Kinetic and newer
-# add_compile_options(-std=c++11)
-
-## Find catkin macros and libraries
-## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
-## is used, also find other catkin packages
+# Find catkin and package dependencies.
 find_package(catkin REQUIRED COMPONENTS
     message_generation)
 
-################################################
-## Declare ROS messages, services and actions ##
-################################################
-
-## To declare and build messages, services or actions from within this
-## package, follow these steps:
-## * Let MSG_DEP_SET be the set of packages whose message types you use in
-##   your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
-## * In the file package.xml:
-##   * add a build_depend tag for "message_generation"
-##   * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET
-##   * If MSG_DEP_SET isn't empty the following dependency has been pulled in
-##     but can be declared for certainty nonetheless:
-##     * add a exec_depend tag for "message_runtime"
-## * In this file (CMakeLists.txt):
-##   * add "message_generation" and every package in MSG_DEP_SET to
-##     find_package(catkin REQUIRED COMPONENTS ...)
-##   * add "message_runtime" and every package in MSG_DEP_SET to
-##     catkin_package(CATKIN_DEPENDS ...)
-##   * uncomment the add_*_files sections below as needed
-##     and list every .msg/.srv/.action file to be processed
-##   * uncomment the generate_messages entry below
-##   * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
-
 ## Generate messages in the 'msg' folder
 # add_message_files(
 #   FILES
@@ -60,18 +31,6 @@ generate_messages(
 #   std_msgs  # Or other packages containing msgs
 )
 
-###################################
-## catkin specific configuration ##
-###################################
-## The catkin_package macro generates cmake config files for your package
-## Declare things to be passed to dependent projects
-## INCLUDE_DIRS: uncomment this if your package contains header files
-## LIBRARIES: libraries you create in this project that dependent projects also need
-## CATKIN_DEPENDS: catkin_packages dependent projects also need
-## DEPENDS: system dependencies of this project that dependent projects also need
+# Generage catkin package.
 catkin_package(
-#  INCLUDE_DIRS include
-#  LIBRARIES driver_mpu9250_msgs
-#  CATKIN_DEPENDS other_catkin_pkg
-#  DEPENDS system_lib
-)
\ No newline at end of file
+#  CATKIN_DEPENDS other_catkin_pkg)
\ No newline at end of file
-- 
GitLab