The sample distribution package provides an easy way to ship the sample to a different system for evaluation or demonstration.
Run the following script to generate a distribution package:
mkdir build
cd build
cmake ..
make
make dist
The generated sample distribution package is under the dist
directory, which you need to distribute to replicate the sample on a different system.
On a system where you plan to run the sample, run the restore.sh
script to restore the sample directory structure:
./restore.sh
Follow usual sample build and run procedures to invoke the sample. You can alter sample options, provided that any such parameter change does not incur an image build. For example, avoid changing the PLATFORM
and FRAMEWORK
parameters.