Build notes
+The build steps used in continuous integration can be found
+in auto_build.sh which is also in the the repository root directory.
+
+Go to the top directory of 'iotivity' project(Note: should always run 'scons'
+command in this directory)
+
//-------------------------------------------------
// Linux
//-------------------------------------------------
-To build, run
-make
+To build release binaries:
+ $ scons resource/csdk/stack
+
+ Build debug binaries:
+ $ scons resource/csdk/stack RELEASE=false
-To enable logging, ensure that
--D TB_LOG
+To enable logging, ensure that
+-D TB_LOG
is set in the compiler flags
//-------------------------------------------------
//-------------------------------------------------
// Arduino
//-------------------------------------------------
-To enable the logger for Arduino, TB_LOG should be defined in
+To enable the logger for Arduino, TB_LOG should be defined in
Properties|C/C++ Build|Settings|Tool Settings|AVR Compiler|Symbols
and
Properties|C/C++ Build|Settings|Tool Settings|AVR C++ Compiler|Symbols