+The build steps used in continuous integration can be found
+in auto_build.sh which is also in the the repository root directory.
-#1. build "connectivity" project
- - execute make command in "connectivity/build/" folder.
+Go to the top directory of 'iotivity' project(Note: should always run 'scons'
+command in this directory)
+
+#1. build "connectivity" project (for release mode)
+ - execute 'scons resource/csdk/connectivity/' command
#2. build "example" for linux
- - execute make command in "connectivity/samples/linux/" folder.
+ - execute 'scons resource/csdk/connectivity/samples/linux/' command
#3. execute sample program
- you should link the "connectivity_abstraction" library.
- ex. LD_LIBRARY_PATH=../../../build/out ./sample_main
-
-#4 execute sample.sh in "connectivity/samples/linux/" folder
- ex. $./sample.sh (This will make a clean build and execute application)
-
-#4 execute sample.sh in if you want to build with DTLS
- ex. $./sample.sh WITH_DTLS (This will make a clean build and execute application)
-
+ ex. cd out/linux/x86/release/resource/csdk/connectivity/samples/linux
+ ./casample