William
William

Reputation: 21

Use Cmake with Yocto

I’m trying to write a recipe for a soft that compiles using cmake, let’s call it my-software.bb

I know I got to inherit the cmake and pkgconfig classes

However I am wondering about the PACKAGE variable. Do I need to explicitly define each package (and the FILES variables associated) ? Or I can just add :

IMAGE_INSTALL += “my-software” and the cmake class will do the package splitting work ?

I don’t know if my question is clear, but any help would be appreciated :-)

William

Upvotes: 0

Views: 1156

Answers (1)

Ross Burton
Ross Burton

Reputation: 4053

The default packaging rules are generally sufficient so yes just inherit cmake.

Upvotes: 1

Related Questions