Building Own Application for DRM/KMS R-Car E3
Generate Makefiles with CMake
For general information about CGI Studio Build System and CMake properties available to configure Candera applications refer to CGI Studio Build System
To configure and generate makefiles for compiling the CGI Player, follow below steps:
The first step for cross compiling is to make sure all the environment variables for the Yocto SDK are set!
$source /<path to the Yocto SDK installation>/environment-setup-aarch64-poky-linuxImportant! From the same console with the set environment start the CMake GUI or run the CMake commandline. We will continue with the CMake GUI in this guide. Point CMake to source directory



Building Application
Make sure that the environment variables for the Yocto SDK are set in the terminal! Either reuse the terminal used to start CMake for building the Player or call the environment setup script again.
$source /<path to the Yocto SDK installation>/environment-setup-aarch64-poky-linux
With some hypervisors, the Linux VM may get unresponsive when using the –j option. Reducing the number of used threads to the number of available cores improves the responsiveness of the VM during the build.
For CourierSampleApp and CitDemoApp asset file must be created with a matching SCHost.dll as the SCHost.dll for the CourierSampleApp and CitDemoApp contain specialized Widgets.