Merge "Implementation of connectivity abstraction feature Release v0.5" into connecti...
[platform/upstream/iotivity.git] / resource / SConscript
1 ##
2 # 'resource' sub-project main build script
3 #
4 ##
5
6 Import('env')
7
8 target_os = env.get('TARGET_OS')
9
10 # Build libcoap
11 SConscript('csdk/libcoap/SConscript')
12
13 # Build liboctbstack
14 SConscript('csdk/SConscript')
15
16 if target_os != 'arduino':
17         # Build liboc_logger
18         SConscript('oc_logger/SConscript')
19
20         # Build liboc
21         SConscript('src/SConscript')
22
23         # Build examples
24         SConscript('examples/SConscript')
25 else:
26         SConscript('csdk/stack/samples/arduino/SimpleClientServer/ocserver/SConscript')