[Rock-dev] autoproj

Sylvain Joyeux sylvain.joyeux at dfki.de
Fri Nov 23 10:53:18 CET 2012


On 11/23/2012 10:38 AM, Malte Langosz wrote:
> Hey,
>
> I would like to define a package for autoproj. But, I only need to 
> build a subdirectory of a git repository for the package. Is it 
> possible to define a subpath for the package, where to execute the 
> configure and build procedure?
>
Currently, no.

You could try hacking around it by doing the following:

cmake_package "my/package" do |pkg|
   pkg.post_import do
     pkg.srcdir = File.join(pkg.srcdir, "subdir")
     Autoproj.manifest.load_package_manifest(pkg.name)
   end
end

which should work in most cases

-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space & Security Robotics
Underwater Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------



More information about the Rock-dev mailing list