Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / resource / csdk / connectivity / samples / linux / README
1 //----------------------------------------------------------------------
2 // NOTICE - Transition to SCONS
3 //----------------------------------------------------------------------
4
5 The IoTivity build system is transitioning to SCONS. Although the 
6 makefiles are still available (until v1.0) and some developers are 
7 still using them, they are currently no longer supported. To learn more 
8 about building using SCONS see Readme.scons.txt in the repository root 
9 directory. The build steps used in continuous integration can be found
10 in auto_build.sh which is also in the the repository root directory.
11
12 //----------------------------------------------------------------------
13
14 #1. build "connectivity" project
15         - execute make command in "connectivity/build/" folder.
16
17 #2. build "example" for linux
18         - execute make command in "connectivity/samples/linux/" folder.
19
20 #3. execute sample program
21         - you should link the "connectivity_abstraction" library.
22         ex. LD_LIBRARY_PATH=../../../build/out ./sample_main
23         
24 #4      execute sample.sh in "connectivity/samples/linux/" folder
25  ex.    $./sample.sh (This will make a clean build and execute application)
26
27 #4      execute sample.sh in if you want to build with DTLS
28  ex.    $./sample.sh  WITH_DTLS (This will make a clean build and execute application)
29
30
31