Skip to main content
List of CMake-Flags
Candera flags
- CANDERA_3D_CANVAS_ENABLED defines whether Candera3D Canvas is enabled or not.
- CANDERA_ASSETLOADER_MEMORYPOOL_ENABLED defines whether asset loader objects are allocated from a dedicated memory pool or not.
- CANDERA_ASSETLOADER_WORKER_THREAD_ENABLED uses an own worker thread for asynchronous asset loader calls.
- CANDERA_ASSET_CACHE_SIZE defines the buffer size for asset caching. A memory chunk of this size will be allocated for caching asset chunks for fast access.
- CANDERA_ASSET_DECOMPRESSION_CHUNK_SIZE defines the chunk buffer size for asset decompression. This value is only relevant for File Asset Repositories.
- CANDERA_BIDIRECTIONAL_TEXT_ENABLED defines whether bidirectional text parsing is enabled or not.
- CANDERA_CUSTOM_LOCALIZER_ENABLED defines whether or not a custom Localizer must be used instead of the DefaultLocalizer.
- CANDERA_EXTERNAL_SHADER_BUILDER_HEADER_INCLUDE includes path to external CPP header file, referenced by CANDERA_EXTERNAL_SHADER_BUILDER_HEADER_PATH.
- CANDERA_EXTERNAL_SHADER_BUILDER_HEADER_PATH defines path to external CPP header file with BUILD_SHADER macro definition, relative to Common/Internal/RenderDevice2DOver3D/.
- CANDERA_EXTERNAL_SHADER_BUILDER_SOURCE_PATH defines path to external CPP source file with binary shaders data, relative to Common/Internal/RenderDevice2DOver3D/.
- CANDERA_FONTENGINE defines which font engine to use.
- CANDERA_GLOBALIZATION_ENABLED defines whether globalization support is enabled or not.
- CANDERA_LAYOUT_CLIPPING_ENABLED defines whether Candera2D layout clipping (setting a clipping rectangle for every render node) is enabled or not.
- CANDERA_LAYOUT_ENABLED defines whether Candera dynamic layout is enabled or not.
- CANDERA_LEGACY_BEHAVIORS_ENABLED builds with legacy behaviors.
- CANDERA_MULTILINE_TEXT_ENABLED defines whether multiline texts are enabled or not.
- CANDERA_SCRIPTING_ENABLED defines whether CanderaScripting sources shall be included or not.
- CANDERA_TEXTENGINE_DLIG_FEATURE_ENABLED defines if Discretionary Ligatures (dlig) are enabled or not (support only in Harfbuzz for now).
- CANDERA_TEXTENGINE_MEMORYPOOL_ENABLED defines whether text engine objects are allocated from a dedicated memory pool or not.
- CANDERA_TEXTENGINE_NATIVE_LINEHEIGHT_ENABLED defines whether or not the native line height metrics of the font engine is used. If disabled then 120% of EM size is applied as line height which is compatible with Adobe.
- CANDERA_TEXTENGINE_WORKER_THREAD_ENABLED uses an own worker thread for asynchronous textrender calls. It uses the update routine (single threaded) when this flag is disabled.
- CANDERA_TEXTSHAPER selects the text shaper.
- CANDERA_TRANSITIONS_ENABLED defines whether CanderaTransitions sources shall be included or not.
- CANDERA_VIDEO_MEMORY_STATISTIC_ENABLED activates support for video memory allocation statistics. ATTENTION: Activated memory statistics may decrease performance!
- CANDERA_ASSET_ADDRESS is the address for eMMC / QSPI flash access
- CANDERA_ASSET_ADDRESS_USE_DEFAULT defines the default address for flash access
-
- 0x00000000 for eMMC
- 0x2000000 for QSPI
- CANDERA_ASSET_LOCATION is the asset location chosen by the user at CMake configure time
- CANDERA_BUILD_SCHOST defines whether SCHost library and DLL are built or not
- CGIDEVICE_BSP_LIBRARY_PATH defines the path to directory including libfbdev.a (for RCarD3, RCarH3 and RCarM3 devices)
- CGIDEVICE_EGL_INCLUDE_PATH defines path to EGL folder
- CGIDEVICE_GFX_LIBRARY_PATH defines the path to graphics libraries (for RCarD3, RCarH3 and RCarM3 devices)
- CGIDEVICE_OPENGL_EGL_CONFIG_PATH defines the path to OpenGL and EGL configuration files (for RCarD3 and RCarH3 devices)
- CGIDEVICE_OPENGL_ES_30_INCLUDE_PATH defines the path to GLES3 folder
- CANDERA_EXTERNAL_SHADER_BUILDER_USAGE_DEFAULT defines whether the default paths for external shader builder for 2DOver3D shaders are used or not."
Courier flags
- COURIER_DATA_LOCK_ENABLED enables the data lock.
- COURIER_ENHANCED_ENABLED enables data binding and visualization, which enables Candera graphics engine support.
- COURIER_ENHANCE-SERIALIZATION_ENABLED activates message serialization.
- COURIER_MESSAGING_MONITOR_ENABLED enables messaging monitor.
- COURIER_PLATFORM defines the platform Courier is built for.
- COURIER_PLATFORM_CONFIG defines the platform configuration Courier is built for.
- COURIER_PREBUILT_LIB_DIR sets the location of pre-built Courier library root folder. Compiler and build configuration are added.
- COURIER_RENDERING_MONITOR_ENABLED enables rendering monitor.
- COURIER_USE_PREBUILT_LIBS uses pre-built Courier libraries in solution instead of Courier sources.
- COURIER_CMAKE_LOGGING_LEVEL defines the verbosity level of Courier CMake system
- COURIER_MESSAGE_SERIALIZATION_ENABLED activates message serialization
- COURIER_CUSTOM_INJECT_WIDGET_BASE_ENABLED enables the use of customized includes.
- COURIER_PLATFORMDEFS_DIR sets customer specific search path for Courier platform definitions.
- COURIER_SCRIPTING_ENABLED enables Courier scripting system support.
FeatStd flags
- FEATSTD_32BIT_PLATFORM a 32 bit compiler is used.
- FEATSTD_64BIT_PLATFORM a 64 bit compiler is used.
- FEATSTD_CUSTOM_CONFIG adds custom config header file.
- FEATSTD_GLERRORS_AND_EGLERRORS_ENABLED enables glGetError and eglGetError calls.
- FEATSTD_IPC_ENABLED enables IPC functionality, like IPC channels, etc.
- FEATSTD_LOGGER_MAX_BUFFER_SIZE defines the maximum length of a single log message.
- FEATSTD_LOG_ENABLED enables logging functionality. If disabled all logging defines are expanded empty and all logging classes (e.g. Appender) will not be available. This means the application which uses e.g. Appender has to scope this usage with FEATSTD_LOG_ENABLED.
- FEATSTD_MEMORYPOOL_ENABLED enables optional component MemoryPool. MemoryPool is an optional component of FeatStd.
- FEATSTD_MEMORYPOOL_FEATURES_DEBUG defines MemoryPool features for debug build mode.
- FEATSTD_MEMORYPOOL_FEATURES_MINSIZEREL defines MemoryPool features for minimal size build mode.
- FEATSTD_MEMORYPOOL_FEATURES_RELEASE defines MemoryPool features for debug release mode.
- FEATSTD_MEMORYPOOL_FEATURES_RELWITHDEBINFO defines MemoryPool features for release with debugging info build mode.
- FEATSTD_MONITOR_ENABLED enables monitor module.
- FEATSTD_STRINGBUFFER_APPENDER_CANDERATYPESIZE defines the maximum size of one Candera type used with string buffer appender.
- FEATSTD_STRINGBUFFER_APPENDER_ENABLED enables the additional StringBuffer AppendObject method and the StringBufferAppender template. StringBufferAppender implementations for specific types like enum, struct or class types have to be provided by the more specific library/application code (manually or generated).
- FEATSTD_THREADSAFETY_ENABLED activates thread safety for various FeatStd modules like logging, etc.
- FEATSTD_UNITTEST_FRAMEWORK_ENABLED activates unit test framework support.
- FEATSTD_FILE_ usually should be ‘__FILE__’ but for some special gcc build it could be set to ‘__BASE_FILE__’.
- CGIAPP_ENABLE_ADDITIONAL_BEHAVIORS defines whether additional behaviors are enabled or not
- FEATSTD_CMAKE_LOGGING_LEVEL set verbosity level of FeatStd CMake system
Monitor flags
- MONITOR_BLOCK_UNTIL_CONNECT enables waiting until host connects to target.
- MONITOR_CANDERA_CUSTOM_EXPERIMENTS enables custom global experiments.
- MONITOR_CANDERA_PERFORMANCE_RECORDER_ENABLED defines whether or not to expand performance recocrder macros.
- MONITOR_CANDERA_PERFORMANCE_RECORDER_GENERATION_DIR sets the location of the Candera performance recorder generation.
- MONITOR_CANDERA_PERFORMANCE_RECORDER_TEMPLATE_DIR sets the location of the Candera performance recorder template.
- MONITOR_COM_TYPE sets the type of monitoring connection.
- MONITOR_FRAME_DEBUGGER_ENABLED enables basic frame debugger (frame timeline capture, single step mode, no OpenGL specific features).
- MONITOR_FRAME_DEBUGGER_OPENGL_CAPTURE_ENABLED enables OpenGL specific Frame Debugger features.
- MONITOR_MEMORYPOOL_BINARY_LOGGING_ENABLED activates the Memory Pool activity logging.
- MONITOR_MEMORYPOOL_BINARY_LOGGING_FILENAME location where the log-file will be generated. The extension has to be *.membin.
- MONITOR_RECORDING_2D_CALLS_ENABLED enables all 2D driver calls.
- MONITOR_RECORDING_OPENGL_ENABLED enables all OpenGL Recorder (e.g. Timing Recorder of OpenGL).
- MONITOR_SINGLE_STEP_INTERVAL sets the time in milliseconds that is used when incrementing the animation time in single-step mode.
- MONITOR_TCPIP_ADDRESS sets the adress of target device which is a server. Therefore this is the listening ip 0.0.0.0 and enables listening to any address.
- MONITOR_TCPIP_PORT sets the TcpIp port number.
CGIApp flags
- CGIAPP_ADDITIONAL_BEHAVIOR_PATH sets the file containing additional behaviors paths.
- CGIAPP_ADDITIONAL_WIDGET_PATH sets the path to a txt file.
- CGIAPP_ENABLE_ADDITIONAL_WIDGETS points to a custom provided additional widgets file.
- CGIAPP_WIDGETSET_VERSION sets the version of the widget.
- CGIAPP_ENABLE_TUTORIAL defines whether CGI-Application tutorial is enabled or not (CGI Studio Documentation->Application Development->Candera->Tutorials)
- CGIAPP_ENABLE_ADDITIONAL_BEHAVIORS defines whether Behaviors feature is enabled or not
- CGIAPP_BUILD_TYPE defines the binary type of the build application. It can be set to NativeDll or NativeExe.
- CGIAPP_PLAYER_DEBUG_PATH defines the path to the CGI Player executable for debug builds. On simulation, for example, the executable will be stored in the device directory present next to the CGIPanel.exe.
- CGIAPP_PLAYER_RELEASE_PATH is the path to the CGI Player executable for release builds. On simulation, for example, the executable will be stored in the device directory present next to the CGIPanel.exe.
- CGIAPP_SAMPLE_CLOCK_ENABLED enables the clock sample feature. If enabled the application will be built with the Clock sample component allowing to use the AnalogWatch control when its Time property is bound to the /Time/CurrentTime data item.
- CGIAPP_SAMPLE_DYNAMICLIST_ENABLED enables the dynamic list sample feature.
- CGIAPP_SCENE_COMPOSER_PATH defines the path to Scene Composer.
- CGISTUDIO_FORCE_RESET_USER_SETTINGS forces the generation of MSVC user settings even if they exist.
- SCHOST_DLL_NAME_CUSTOM defines a custorm name for SCHost DLL
- SCHOST_DLL_NAME_PLATFORM_SPECIFIC defines whether or not to use platform specific name for SCHost.dll
- SCHOST_DLL_OUTPUT_PATH defines the output path for SCHost.dll. Typically is the path to the Scene Composer.
Third Party Software Flags
- CGIDEVICE_TARGET_EGL_GLES2_IMPLEMENTATION select target EGL and GLES2 implementation: libEGL (EGL and GLES2 directly) or GLX (EGL and GLES2 through OpenGLAdapter over GLX)
FreeType flags
Other flags
- CGICODECHECK_PC_LINT_CONFIG_DIR sets the full path to the directory containing PC-Lint configuration files.
- CGICODECHECK_PC_LINT_CUSTOM enables custom rules for linting.
- CGICODECHECK_PC_LINT_CUSTOM_CONFIG_PATH sets the full path to the custom PC-Lint configuration directory.
- CGICODECHECK_PC_LINT_ENABLED defines whether or not enabling PC-Lint code checks.
- CGICODECHECK_PC_LINT_EXECUTABLE_PATH sets the full path to the PC-Lint executable, NOT to the generated lin.bat.
- CGIDEVICE_RCARD1_USE_DRW2D can be used to switch between using the Draw 2D API for DaveHD or using 2D over 2D using OpenGL directly.
- CGISTUDIO_BUILD_LUA define whether or not the LUA library is enabled.
- CMAKE_CONFIGURATION_TYPES defines a semicolon separated list of supported configuration types: Debug, Release, MinSizeRel and RelWithDebInfo. Anything else will be ignored.
- CMAKE_INSTALL_PREFIX sets the install path prefix, prepended onto install directories.
- CMAKE_VERBOSE_CGISTUDIO_LOG defines whether or not printing CGI-Studio Cmake debug logs.
- SCHOST_BASE_PATH sets the location of cgi_studio_schost.
- CMAKE_AR defines path to “ar” (compiler archiver)
- CMAKE_ASM_FLAGS defines compilation flags to get support for assembler via compiler
- CMAKE_BUILD_TYPE defines the built type (Debug, Release …)
- CMAKE_COLOR_MAKEFILE enables color output when using the Makefile generator
- CMAKE_LINKER defines the path for linker
- CMAKE_MAKE_PROGRAM defines the path to the native build system
- CMAKE_NM defines the path to "nm" (a tool used to examine binary files)
- CMAKE_OBJCOPY defines the path to “objcopy" (utility that copies an object file to another)
- CMAKE_OBJDUMP defines the path to “objdump” (objdump displays information about one or more object files)
- CMAKE_PROJECT_NAME defines the name of the current project
- CMAKE_SH defines the path to “sh”
- CMAKE_SKIP_INSTALL_RPATH defines whether include or not RPATHs in the install tree
- CMAKE_SKIP_RPATH defines whether add or not run time path information
- CMAKE_STATIC_LINKER_FLAGS defines the linker flags to be used to create static libraries
- CMAKE_STATIC_LINKER_FLAGS_DEBUG defines the flags used by the linker during debug builds
- CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL defines the flags used by the linker during release minsize builds
- CMAKE_STATIC_LINKER_FLAGS_RELEASE defines the flags used by the linker during release builds
- CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO defines the flags used by the linker during Release with Debug Info builds
- CMAKE_STRIP defines the path to the “strip” utility (removes inessential information from executable binary programs and object files)
- CMAKE_TOOLCHAIN_FILE defines the path to the toolchain file (it contains paths to the utilities to compile, link libraries and create archives, and other tasks to drive the build)
- CMAKE_VERBOSE_MAKEFILE defines whether enable or disable verbose output from Makefile builds
- CMAKE_CXX_FLAGS_DEBUG defines the CXX debug flags.
- CMAKE_CXX_FLAGS_MINSIZEREL defines the CXX Minimum Size Release Flags
- CMAKE_CXX_FLAGS_RELEASE defines the CXX release flags.
- CMAKE_CXX_FLAGS_RELWITHDEBINFO defines the CXX release with debug info flags.
- CMAKE_C_FLAGS_DEBUG defines the C debug flags.
- CMAKE_C_FLAGS_MINSIZEREL defines the C minimum size release flags.
- CMAKE_C_FLAGS_RELEASE defines the C release flags.
- CMAKE_C_FLAGS_RELWITHDEBINFO defines the C release with debug info flags.
- CMAKE_RC_COMPILER defines path to the resource compiler.
- FEATSTD__FILE__ defines the “__FILE__” macro (for some special gcc build it could be set to ‘__BASE_FILE__’)
- INTEGRITY_OS_PATH defines the root path to Integrity OS installation.
- MLC_SIMULATION defines whether to build or not the project without statemachine and allow direct connection to Matlab.
- MULTI_TOOLCHAIN_PATH defines the Root path to MULTI tool chain.
- PKG_CONFIG_EXECUTABLE
- CMAKE_INT_FLAGS defines the flags for the Integrate tool.
- CMAKE_INTEGRATE defines the path to the Integrate tool (intex.exe).
- CMAKE_MEM defines the path to the Gmem tool (gmemfile.exe).