Add stack logging flag to scons build parameters.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Mon, 6 Apr 2015 17:00:37 +0000 (13:00 -0400)
committerErich Keane <erich.keane@intel.com>
Tue, 7 Apr 2015 16:26:18 +0000 (16:26 +0000)
commit83533af48871166faaea2b6bcf11706044f510a9
tree2dd5b7114aaf794c64f5f6a1cbac5324a2c3da07
parentb51fa754a6b6f9c0421fffc3d85963024414fb66
Add stack logging flag to scons build parameters.

This will allow people to build debug versions of the stack without
actually enabling all the stack debug logs. This is useful (for instance)
when you may want to run unit tests in debug mode (ie. with no optimizat-
ion and full debug symbols), run without stack logging noise, and run
valgrind as the CI (ie. build) system does. The default values of when
logging will be enabled remain the same as before, except the default for
stack logging when building/running the unit tests is disabled. You may
change this by simply adding "LOGGING=1" or "LOGGING=true" to the list
of scons options, however.

Change-Id: I70cedc9143c6015fd75bf4725cf72b6a64b8529e
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/657
Reviewed-by: Erich Keane <erich.keane@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
13 files changed:
arduino.scons
auto_build.sh
build_common/SConscript
build_common/linux/SConscript
resource/csdk/SConscript
resource/csdk/connectivity/build/android/SConscript
resource/csdk/connectivity/build/arduino/arduino.scons
resource/csdk/connectivity/build/linux/SConscript
resource/csdk/connectivity/build/tizen/scons/SConscript
resource/csdk/connectivity/lib/libcoap-4.1.1/SConscript
resource/csdk/connectivity/test/SConscript
resource/csdk/stack/test/SConscript
resource/unittests/SConscript