The Hello World Application can be renamed (for example from amsr_vector_app_hello_world_example to amsr_vector_app_my_example) by changing the short name of the build target in the build system (CMake executable) and the short name of the application itself at the same time.
Rename For Build System
To rename the short name of the application, you must ensure that the new short name is known to the build system. Choose one of two different ways to do so:
Rename Via Command (Terminal)
- Navigate to the local build cache directory of your application:
cd "${AMSR_SRC_DIR}/
Examples/amsr-vector-app-example-hello-world/build/gcc7_linux_x86_64"- Set the
HWSRC_APP_OUTPUT_NAMEargument with the new build target short name: cmake -D HWSRC_APP_OUTPUT_NAME="
amsr_vector_app_my_example".
Rename Via Files (Manual)
- Open the
Examples/amsr-vector-app-example-hello-world/app/hello_world/CMakeLists.txtfile. - Change
set(TARGET hwsrc_app)toset(TARGET amsr_vector_app_my_example)in the file. - Change all occurrences of
hwsrc_apptoamsr_vector_app_my_examplein all files of your application directory.
Rename For Application
The easiest and recommended way to rename your application is by using DaVinci Developer Adaptive.
- Open your project via DaVinci Developer Adaptive.

- Click and browse to the directory
amsr-vector-app-my-example. - Click .
- Open the context menu on your project.
- Select Configure | Convert to DaVinci Adaptive Project....

- Set model as Model and select User Application.

- Click and .
- Rename
amsr_vector_app_hello_word_exampletoamsr_vector_app_my_examplein the name field.
