85a2b91778b9e91e9efd63521cd79c8b0d0aa6a7
[AGL/meta-agl.git] / templates / feature / agl-devel / agl-devel.md
1 The features of agl-devel
2 =========================
3
4 Activation of the agl-devel features turns on
5 features needed for developping and debugging
6 agl distribution.
7
8 This includes:
9
10   - adding to images some useful packages
11
12   - adding to images the package group 'packagegroup-agl-devel'
13
14   - definition of a contionnal the tag 'agl-devel'
15     for conditionnal building
16
17   - definition of the distro feature 'agl-devel'
18
19   - adds packages for development in SDK
20
21
22 How to use agl-devel in conditionnal builds ?
23 ---------------------------------------------
24
25 The following example shows how to activate C/C++ code
26 specific to agl-devel:
27
28         CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"
29
30 Using this, any code enclosed in
31
32         #ifdef AGL_DEVEL
33         ...my code specific to agl-devel...
34         #endif
35
36 will normaly be effective only if agl-devel is set on.
37
38 At this time, it is recommended to use AGL_DEVEL as tag
39 within C/C++ code.
40