Candera Version Validation
To ensure, that an application like the Player always refers to the proper Candera version, following CMake configurations can be used:
<CANDERA_DIR>/CgiStudioCanderaConfig.cmake: This file specifies the actual version of Candera, e.g.:
set(CGI_CANDERA_VERSION "3.12.0.0")
Accordingly, proper Candera build defines will be generated, accessible for applications via <CANDERA_DIR>/src/Candera/CanderaVersion.h
<CGI-Player_DIR>/src/CgiStudioPrereqs.txt: This file is an example how an application will request a specific Candera version:
set(CGI_CANDERA_VERSION_REQUIRED "3.12.0.0")
<CGI-Player_DIR>/cmake/cgiapp_cmake_common.cmake: This cmake file contains an example how an application can detect a Candera folder matching a specific Candera version (via cmake find_package command).