Making simulator build optional through scons command line argument "SIMULATOR".
authorHarish Kumara Marappa <h.marappa@samsung.com>
Mon, 21 Sep 2015 07:09:11 +0000 (12:39 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Tue, 22 Sep 2015 00:58:48 +0000 (00:58 +0000)
commite5a84a70254e09506a56bcbf38d27a1ee8eb3996
tree3ac8c344c0f6aa47c78681d44209875bbbca0de3
parent41217a6298cc44ec66e401cca89baca8d8d26157
Making simulator build optional through scons command line argument "SIMULATOR".

simulator module will be built only if scons command passed with SIMULATOR
argument having one of the case insensitive value from "True", "Yes", "Y" and "1".

Example: scons SIMULATOR=1

Change-Id: Ie5dcd839d8770d219de1d623d60c23be0133bb1c
Signed-off-by: Harish Kumara Marappa <h.marappa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2823
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 42471c31531a3dc46d3bbf861b767f11b48ac580)
Reviewed-on: https://gerrit.iotivity.org/gerrit/2837
build_common/SConscript
service/SConscript