From de50c889c17eaa707b4fd3d0c0280363c0efd4bc Mon Sep 17 00:00:00 2001
From: Isaac IY Saito <130s@lateeye.net>
Date: Mon, 19 Oct 2015 12:10:48 -0700
Subject: [PATCH] Add a package manifesto and cmake rule for ROS release

---
 CMakeLists.txt |  5 +++++
 package.xml    | 30 ++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 CMakeLists.txt
 create mode 100644 package.xml

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..4a86bfc
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,5 @@
+## This CMakeLists.txt file exists only for building as ROS 3rd-party package. Building for other purpose is not tested. See https://github.com/AndreaCensi/csm/pull/10
+cmake_minimum_required(VERSION 2.8)
+project(csm)
+
+INSTALL(FILES package.xml DESTINATION share/csm)
diff --git a/package.xml b/package.xml
new file mode 100644
index 0000000..f0e1ab8
--- /dev/null
+++ b/package.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<package>
+  <name>csm</name>
+  <version>1.0.0</version>
+  <description>
+    This is a ROS 3rd-party wrapper <a href = "http://www.ros.org/reps/rep-0136.html">(see REP-136 for more detail)</a> of Andrea Censi's CSM package. 
+
+    From <a href = "http://censi.mit.edu/software/csm/">the official website</a>:
+    <ul>
+      The C(anonical) Scan Matcher (CSM) is a pure C implementation of a very fast variation of ICP using a point-to-line metric optimized for range-finder scan matching.
+
+      It is robust enough to be used in industrial prototypes of autonomous mobile robotics, for example at Kuka. CSM is used by a variety of people, though it is hard to keep track because of the open source distribution, especially as packaged in ROS. If you use this software for something cool, let me know.
+    </ul>
+  </description>
+
+  <author>Andrea Censi</author>
+  <license>LGPL</license>
+
+  <url type="website">http://censi.mit.edu/software/csm</url>
+  <url type="website">http://wiki.ros.org/csm</url>
+  <url type="repository">https://github.com/AndreaCensi/csm</url>
+  <url type="bugtracker">https://github.com/AndreaCensi/csm/issues</url>
+  <maintainer email="130s@2000.jukuin.keio.ac.jp">Isaac I.Y. Saito</maintainer>
+
+  <buildtool_depend>cmake</buildtool_depend>
+  <run_depend>catkin</run_depend>
+  <export>
+    <build_type>cmake</build_type>
+  </export>
+</package>
-- 
GitLab