Clean up some SonarQube warnings (trailing whitespace, etc).
[platform/upstream/iotivity.git] / resource / oc_logger / 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 To run the oc_logger C sample app, first build liboctbstack.a
15
16 cd <root>/csdk
17
18 To enable logging
19 make BUILD=debug
20 else
21 make BUILD=release
22
23 Next, build the oc_logger C sample app
24
25 cd <root>/oc_logger/samples/linux
26
27 To enable logging
28 make BUILD=debug
29 else
30 make BUILD=release
31
32 The logger sample has two options, default logging or
33 a custom logger that can be supplied by the user application
34
35 To run the application with the default logger, run
36
37 ./debug/test_logging -c 0
38
39 To run the application using a built in custom console logger, run
40
41 ./debug/test_logging -c 1
42
43
44