On Fri, Feb 23, 2018 at 7:50 AM, André Draszik <g...@andred.net> wrote:

> From: André Draszik <andre.dras...@jci.com>
>
> cmake_do_compile() and cmake_do_install() basically do the
> same, except they use a different --target, and at the
> moment this is copy/pasted code with a minor modification.
>
> Other recipes which e.g. might want to support compilation
> as part of ptest have to do the same. This is a bit
> inconvenient.
>
> By factoring out all of this into a common helper,
> cmake_runcmake_build(), this is easily re-used. An
> (imaginary) recipe can compile ptest support simply by
> using
>   cmake_runcmake_build --target buildtest-TESTS
> (assuming such a build target exists).
>
> Also, this now is very similar to oe_runmake().
>

If it’s similar to oe_runmake, why the long overly verbose function name
for the new function? Is oe_runcmake not viable?
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to