[OE-core] [PATCH] cmake: Support Eclipse and other cmake generators

Burton, Ross ross.burton at intel.com
Mon Apr 8 21:04:27 UTC 2019


On Mon, 8 Apr 2019 at 21:56, Douglas Royds <douglas.royds at taitradio.com> wrote:
>  python() {
>      generator = d.getVar("OECMAKE_GENERATOR")
> -    if generator == "Unix Makefiles":
> -        args = "-G 'Unix Makefiles' -DCMAKE_MAKE_PROGRAM=" + d.getVar("MAKE")
> +    if "Unix Makefiles" in generator:
> +        args = "-G '" + generator +  "' -DCMAKE_MAKE_PROGRAM=" + d.getVar("MAKE")

So are there other generators such as "Unix Makefiles - Something
Else" that needs to trigger this code path?  A real world example
would be useful.

>      else:
>          bb.fatal("Unknown CMake Generator %s" % generator)

Because obviously at this point, arbitrary generators are very much
not supported yet.

Ross


More information about the Openembedded-core mailing list