Show how to make examples non-default 49/27849/3
authorMats Wichmann <mats@linux.com>
Thu, 10 Jan 2019 16:46:09 +0000 (09:46 -0700)
committerMats Wichmann <mats@linux.com>
Thu, 24 Jan 2019 14:51:28 +0000 (14:51 +0000)
commitac8502f017cf28830ff319b765920e7a10428b95
treeeb5f473ff257e3fb4811e7b721d2c16bdf044051
parent2cd19c542eea7fe1044a3210288f3742de88b8b0
Show how to make examples non-default

A scheme is introduced which allows separating targets indended to
be built by default from ones not intended to be built by default.
One example is converted to show how it works.

Since this makes use of added methods (extending scons' own API),
took the opportunity to properly document these, and added a
documentation file in a new doc subdirectory to make it easier
for developers to find out about these methods.

Also added a debug scheme, which makes it more clear where to
put tracing statements in between the two passes of scons -
the script is invoked at the very end of the scan pass, before
the build pass begins but when everything should be defined.

Change-Id: I0a636fa34c18ace23720f22bfdd8511afa611ddb
Signed-off-by: Mats Wichmann <mats@linux.com>
SConstruct
build_common/SConscript
debug.scons [new file with mode: 0644]
doc/added-methods.rst [new file with mode: 0644]
service/coap-http-proxy/SConscript
service/coap-http-proxy/samples/README.md [new file with mode: 0644]
service/coap-http-proxy/samples/SConscript