From 4631480de6a9c6cc1849d0fc660cf1d53232f0dc Mon Sep 17 00:00:00 2001 From: Dave Hershberger Date: Thu, 20 Sep 2012 23:40:23 +0000 Subject: [PATCH] rosmake: added setup.py and package.xml and updated CMakeLists.txt --- tools/rosmake/CMakeLists.txt | 4 +++- tools/rosmake/package.xml | 22 ++++++++++++++++++++++ tools/rosmake/setup.py | 12 ++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 tools/rosmake/package.xml create mode 100644 tools/rosmake/setup.py diff --git a/tools/rosmake/CMakeLists.txt b/tools/rosmake/CMakeLists.txt index 7d941cd6..1cc2a4cd 100644 --- a/tools/rosmake/CMakeLists.txt +++ b/tools/rosmake/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 2.8) project(rosmake) find_package(catkin REQUIRED) -catkin_project(${PROJECT_NAME}) + +catkin_package() +catkin_package_export() catkin_add_nosetests(test) diff --git a/tools/rosmake/package.xml b/tools/rosmake/package.xml new file mode 100644 index 00000000..97806806 --- /dev/null +++ b/tools/rosmake/package.xml @@ -0,0 +1,22 @@ + + rosmake + 1.9.9 + + rosmake is a ros dependency aware build tool which can be used to + build all dependencies in the correct order. + + Dirk Thomas + BSD + + http://ros.org/wiki/rosmake + + Tully Foote + + catkin + + + + + + + diff --git a/tools/rosmake/setup.py b/tools/rosmake/setup.py new file mode 100644 index 00000000..c4b489f5 --- /dev/null +++ b/tools/rosmake/setup.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python + +from distutils.core import setup +from catkin.package import parse_package_for_distutils + +d = parse_package_for_distutils() +d['packages'] = ['rosmake'] +d['package_dir'] = {'': 'src'} +d['install_requires' = ['rospkg'] +d['scripts'] = ['scripts/rosmake'] + +setup(**d)