From: Jon A. Cruz Date: Thu, 19 Mar 2015 21:00:06 +0000 (-0700) Subject: Do not try to build OICMiddle examples on arduino. X-Git-Tag: 0.9.1-alpha1~38^2~97 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef388926d02954b1aab1d1336e6c73aa10ea2e78;p=contrib%2Fiotivity.git Do not try to build OICMiddle examples on arduino. When the target OS is arduino, avoid attempting to build the OICMiddle example since it is C++ and not supported for that platform. Change-Id: I054ab220214c707954f4bf3cf17b6667ee9a82a6 Signed-off-by: Jon A. Cruz Reviewed-on: https://gerrit.iotivity.org/gerrit/517 Tested-by: jenkins-iotivity Reviewed-by: Joseph Morrow Reviewed-by: Erich Keane --- diff --git a/SConstruct b/SConstruct index d58a301..6f2f254 100644 --- a/SConstruct +++ b/SConstruct @@ -47,7 +47,8 @@ build_dir = env.get('BUILD_DIR') # Build 'resource' sub-project SConscript(build_dir + 'resource/SConscript') -SConscript(build_dir + 'examples/OICMiddle/SConscript') +if target_os != 'arduino': + SConscript(build_dir + 'examples/OICMiddle/SConscript') # Build 'service' sub-project SConscript(build_dir + 'service/SConscript')