Skip to main content

New CMake environment

The new CMake environment was introduced with CGI Studio 3.14. It has some advantages:

  •  it is based on newer CMake versions (CMake 3.19.0 or higher is required): some newer CMake features allow for a much simpler configuration
  • cleaner and idiomatic overall implementation: everything is implemented in a way following guide-lines from CMake.org. This makes it also easier to use it, as there is a lot of community documentation available.
  • better structure and order of the configuration: with the old system it is often quite difficult to find the correct place where all necessary information is available (such as target or OS information)

The starting point for the applications are new files in the top-level "cmake" folder, you can see a mapping to the old locations in the table below.  Please be aware that not all applications and target platform combinations maybe be fully functional yet. The old approach is deprecated but will be still maintained for the next two releases. 

old location

new location

cgi_studio_player/src
cmake/Candera/Player
cgi_studio_player/LightPlayer/src cmake/Apps/LightPlayer
cgi_studio_courier_apps/src/CourierSampleApp cmake/Apps/Courier/CourierSampleApp
cgi_studio_courier_apps/src/CourierSampleAppLight cmake/Apps/Courier/CourierSampleAppLight

Features are still named the same and backward compatible.