[Rock-dev] [rock] #406: orogen: cmake: missing dependency regen->all?
rock
noreply at opendfki.de
Thu Jan 9 09:45:41 CET 2014
#406: orogen: cmake: missing dependency regen->all?
--------------------------+------------------------------------
Reporter: mzenzes | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: minor | Milestone:
Component: base | Resolution:
Keywords: orogen,cmake |
--------------------------+------------------------------------
Comment (by sylvain.joyeux):
About 'all' not triggering 'regen': the general idea is that one should be
able to separate the code generation from the build (i.e. '''in
principle''' one should be able to ship the generated orogen component as
a pure CMake package, without orogen being installed). This is why 'all'
does not depend on 'regen'
Moreover, there is no way in CMake to make it restart make. GNUmake can do
that (you can tell it to restart itself because you modified the
Makefile), but it is not available from within cmake (my guess is that it
is not portable). In effect, it means that you '''must''' regen and build
in two separate commands since orogen generates cmake code.
--
Ticket URL: <http://rock.opendfki.de/ticket/406#comment:2>
rock <http://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list