blob: 373c1d420eba2da6bc15efba669d39e018e25a15 [file] [view] [edit]
# Matter Joint Fabric Control Example
An example application that acts as a commissioner and control application for
jf-admin-app (Joint Fabric Administrator Application).
It is also used for initial commissioning of the jf-admin-app and also as a PKI
provider.
<hr>
- [Matter Joint Fabric Control Example](#matter-joint-fabric-control-example)
- [Building the example Application on Linux](#building-the-example-application-on-linux)
<hr>
All the instructions given below assumes that we are in the connectedhomeip
repo, thus referencing the top level”.
## Prepare for building
Before running any other build command, the `scripts/activate.sh` environment
setup script should be sourced at the top level. This script takes care of
downloading GN, ninja, and setting up a Python environment with libraries used
to build and test.
- Run the following command at the top level:
$ source scripts/activate.sh
## Checking if submodules are up to date
- Pull the required submodules at the top level:
$ ./scripts/checkout_submodules.py --shallow --platform linux
## Building the Example Application on Linux
- Build the example application:
$ cd examples/jf-control-app/
$ gn gen out/debug
$ ninja -C out/debug
- To delete generated executable, libraries and object files use:
$ cd examples/jf-control-app/
$ rm -rf out/