Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 1.86 KB

File metadata and controls

47 lines (42 loc) · 1.86 KB

Create a Sample

Generate

If you would like to create a new sample the following script will generate a sample within the samples directory with a given name MySample

Windows
bldsys/scripts/generate_sample.bat MySample
Linux
Linux: ./bldsys/scripts/generate_sample.sh MySample

The sample is now created and the following files generated

samples/my_sample/CMakeLists.txt
samples/my_sample/my_sample.cpp
samples/my_sample/my_sample.h

Configure

To configure how your sample will appear in the android list activity you can change the samples/my_sample/CMakeLists.txt NAME and DESCRIPTION