6 ###########################################################################
8 ## Most modules will be built using the auto macros from site_scons/SENFSCons.py
9 ## (see below). Arguments are:
10 ## env - The construction environment
11 ## name - name of target (AutoPacketBundle only)
12 ## exclude - Files to exclude from the build
13 ## subdirs - Subdirectories to recurse into
14 ## doc_extra_sources - Extra source files (images) to build for the documentation
16 ## If the macros don't do exactly what you want you may either copy the function definition
17 ## body from site_scons/SENFSCons.py into the SConscript file or add additional targets
19 ## Build a standard library module
21 # SENFSCons.AutoRules(env, exclude=[...], subdirs=[...], doc_extra_sources=[...]
23 ## Build a packet bundle
25 # SENFSCons.AutoPacketBundle(env, name, exclude=[...], subdirs=[...], doc_extra_sources=[...]
27 ## Build an (additional) executable. Build it as default target (built when calling scons
28 ## without arguments or with the 'default' argument
30 # env.Default(env.Program(name, [ sources...]))