2 title: Using CMake Templates from BitBake Recipes
5 If you have developed an application and you want to include it in an AGL image,
6 you must add a BitBake recipe in one of the following layers:
8 * [meta-agl](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/AGL/meta-agl):
9 meta-agl layer (core AGL)
10 * [meta-agl-cluster-demo](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/AGL/meta-agl-cluster-demo):
11 cluster demo specific recipes and configuration
12 * [meta-agl-demo](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/AGL/meta-agl-demo):
13 meta-agl-demo layer (demo/staging/"one-shot")
14 * [meta-agl-devel](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/AGL/meta-agl-devel):
15 meta-agl-devel (Development and Community BSPs)
16 * [meta-agl-extra](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/AGL/meta-agl-extra):
17 meta-agl-extra (additional/optional components for AGL)
19 Once you have the recipe in place, edit it to include the following
20 line to cause the `aglwgt` class to be inherited:
26 Following is an example that uses the HVAC application recipe (i.e. `hvac.bb`), which
27 builds the HVAC application:
30 SUMMARY = "HVAC Service Binding"
31 DESCRIPTION = "AGL HVAC Service Binding"
32 HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/agl-service-hvac"
35 LICENSE = "Apache-2.0"
36 LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
38 SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/agl-service-hvac;protocol=https;branch=${AGL_BRANCH}"
39 SRCREV = "${AGL_APP_REVISION}"
41 PV = "1.0+git${SRCPV}"
45 RDEPENDS_${PN} += "agl-service-identity-agent"
47 inherit cmake aglwgt pkgconfig
50 The following links provide more examples of recipes that use the
53 * [agl-service-helloworld](https://gerrit.automotivelinux.org/gerrit/admin/repos/apps/agl-service-helloworld)
54 * [agl-service-audio-4a](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/agl-service-audio-4a)
55 * [agl-service-unicens](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/agl-service-unicens)
56 * [4a-hal-unicens](https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/4a-hal-unicens)