summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-devel/agl-devel.md
blob: 85a2b91778b9e91e9efd63521cd79c8b0d0aa6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
The features of agl-devel
=========================

Activation of the agl-devel features turns on
features needed for developping and debugging
agl distribution.

This includes:

  - adding to images some useful packages

  - adding to images the package group 'packagegroup-agl-devel'

  - definition of a contionnal the tag 'agl-devel'
    for conditionnal building

  - definition of the distro feature 'agl-devel'

  - adds packages for development in SDK


How to use agl-devel in conditionnal builds ?
---------------------------------------------

The following example shows how to activate C/C++ code
specific to agl-devel:

	CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"

Using this, any code enclosed in

	#ifdef AGL_DEVEL
	...my code specific to agl-devel...
	#endif

will normaly be effective only if agl-devel is set on.

At this time, it is recommended to use AGL_DEVEL as tag
within C/C++ code.