Update build scripts
authorCaiwen Zhang <caiwen.zhang@intel.com>
Fri, 5 Dec 2014 08:00:57 +0000 (16:00 +0800)
committerCaiwen Zhang <caiwen.zhang@intel.com>
Mon, 8 Dec 2014 05:35:47 +0000 (13:35 +0800)
commit5c55fb38e2c7820b14ed7b49bb88e88a06141c61
treecf89e680d06f1a1b28ebd9200f790e2a91a07654
parente9403ce6d4d7a1a0ac8d12c5acc876af7f7a8f76
Update build scripts

1) Add build options to enviornment(env) to avoid export variables
2) Sync with the newest code
3) Update Readme(Readme.scons.txt)
4) Extend arduino supporting
5) Add build scripts for services
6) Add a doc(scons_script_how_to.txt) about how to write iotivity
    build script
7) change resource libs from static library to share library

Last sync and test with the newest code commit:
  e9403ce6d4d7a1a0ac8d12c5acc876af7f7a8f76

Note:
  Scripts for Service are provided but aren't enabled due to the
service code is too old it can't pass the build.

Change-Id: I06427cfe65e6fcf5837376f2f89d1e93c662f920
Signed-off-by: Caiwen Zhang<caiwen.zhang@intel.com>
55 files changed:
Readme.scons.txt [new file with mode: 0644]
SConstruct [new file with mode: 0644]
arduino.scons [new file with mode: 0644]
auto_build.sh [moved from resource/auto_build.sh with 51% similarity]
build_common/SConscript [new file with mode: 0644]
build_common/android/SConscript [moved from resource/build_common/android/SConscript with 76% similarity]
build_common/android/jni/Android.mk [moved from resource/build_common/android/jni/Android.mk with 93% similarity]
build_common/arduino/SConscript [new file with mode: 0755]
build_common/darwin/SConscript [new file with mode: 0644]
build_common/ios/SConscript [new file with mode: 0644]
build_common/linux/SConscript [new file with mode: 0644]
build_common/windows/SConscript [new file with mode: 0644]
extra_options.scons [new file with mode: 0644]
resource/Readme.scons.txt [deleted file]
resource/SConscript [new file with mode: 0644]
resource/SConstruct [deleted file]
resource/arduino.scons [deleted file]
resource/build_common/SConscript [deleted file]
resource/build_common/arduino/SConscript [deleted file]
resource/build_common/darwin/SConscript [deleted file]
resource/build_common/ios/SConscript [deleted file]
resource/build_common/linux/SConscript [deleted file]
resource/build_common/windows/SConscript [deleted file]
resource/csdk/SConscript
resource/csdk/libcoap-4.1.1/SConscript
resource/csdk/stack/samples/arduino/SimpleClientServer/ocserver/SConscript [new file with mode: 0644]
resource/examples/SConscript
resource/examples/ocicuc/SConscript
resource/oc_logger/SConscript
resource/oc_logger/examples/SConscript [new file with mode: 0644]
resource/src/SConscript
resource/third_party_libs.scons
scons_script_how_to.txt [new file with mode: 0644]
service/SConscript [new file with mode: 0644]
service/notification-manager/SConscript [new file with mode: 0644]
service/notification-manager/SampleApp/SConscript [new file with mode: 0644]
service/notification-manager/SampleApp/arduino/SConscript [new file with mode: 0644]
service/notification-manager/SampleApp/linux/SConscript [new file with mode: 0644]
service/protocol-plugin/SConscript [new file with mode: 0644]
service/protocol-plugin/lib/cpluff/SConscript [new file with mode: 0644]
service/protocol-plugin/plugin-manager/SConscript [new file with mode: 0644]
service/protocol-plugin/plugins/SConscript [new file with mode: 0644]
service/protocol-plugin/plugins/mqtt-fan/lib/SConscript [new file with mode: 0644]
service/protocol-plugin/plugins/mqtt-fan/lib/cpp/SConscript [new file with mode: 0644]
service/protocol-plugin/sample-app/SConscript [new file with mode: 0644]
service/protocol-plugin/sample-app/linux/SConscript [new file with mode: 0644]
service/soft-sensor-manager/SConscript [new file with mode: 0644]
service/soft-sensor-manager/SampleApp/SConscript [new file with mode: 0644]
service/soft-sensor-manager/SampleApp/linux/ClientApp/SConscript [new file with mode: 0644]
service/soft-sensor-manager/SampleApp/linux/THSensorApp/SConscript [new file with mode: 0644]
service/soft-sensor-manager/SampleApp/linux/THSensorApp1/SConscript [new file with mode: 0644]
service/things-manager/SConscript [new file with mode: 0644]
service/things-manager/sampleapp/SConscript [new file with mode: 0644]
service/things-manager/sampleapp/linux/tgmclient/SConscript [new file with mode: 0644]
service/third_party_libs.scons [new file with mode: 0644]