Compiler Configuration Tab (DATAFLOW Frames)

by Marco Wuelser

 

This Reference Article has been written for Version 2.1 of the DATAFLOW Software. For Previous Releases use the version selection in the navigation bar at the top of this page.


This Tab is part of Toolchain Configuration Page in the Project Settings dialog.

 

Tab Description

The Configurations Tab in the Toolchain Configuration Page is used to configure Compiler specific settings for a Build Toolchain.

The page shows all generated build configurations and the C++ preprocessor definitions used to build the source code for each configuration as well as global defines that will apply to all configurations. Custom defines can be added as well.

 

The other settings depend on the type of Toolchain:

 

IAR Workbench for ARM

Copy Configuration Headers
When this field is checked, the project generator will create Imt.Base configuration header files with the configuration defined in the Build Configuration and place them in a Config subfolder inside the configured Workspace/Solution folder.
Preprocessor Definitions
This field shows all pre-processor definitions added to the IDE project by the project generator. These are based on the configured target platform and build configuration.
Custom Preprocessor Definitions
This field allows to add custom pre-processor definitions to the generated IDE configurations. It is possible to add a definition to all or only to a specific configuration settings for the Imt.Base packages.

 

The IAR Toolchain generates a Debug and Release Configuration. If the Runtime Statistics are enabled (Build Config / Configuration / Runtime Configuration / Use Runtime Statistics) a Statistics configuration is generated as well.

A pre-build step that calls the batch file to copies the configuration headers to the Imt.Base folders is added by default and can be disabled if necessary.

 

Visual Studio

Copy Configuration Headers
When this field is checked, the project generator will create Imt.Base configuration header files with the configuration defined in the Build Configuration and place them in a Config subfolder inside the configured Workspace/Solution folder.
Preprocessor Definitions
This field shows all pre-processor definitions added to the IDE project by the project generator. These are based on the configured target platform and build configuration.
Custom Preprocessor Definitions
This field allows to add custom pre-processor definitions to the generated IDE configurations. It is possible to add a definition to all or only to a specific configuration settings for the Imt.Base packages.

 

The Visual Studio Toolchain generates a Debug, Release and UnitTest Configuration when the Win32 Template is used. The Unit Test template will only generate an UnitTest configuration.

A CopyProject that calls the batch file to copies the configuration headers to the Imt.Base folders is added by default and can be disabled if necessary.

 

GNU Makefile

The GNU Toolchain generates a Debug and Release Configuration.

A pre-build step that calls the batch file to copies the configuration headers to the Imt.Base folders is added by default and can be disabled if necessary.

Copy Configuration Headers
When this field is checked, the project generator will create Imt.Base configuration header files with the configuration defined in the Build Configuration and place them in a Config subfolder inside the configured folder.
Compiler Executable
Path to the compiler executable to be used.
Compiler Flags
Flags to be passed to the compiler.
Linker Executable
Path to the linker executable to be used.
Linker Flags
Flags to be passed to the linker.
Preprocessor Definitions
This field shows all pre-processor definitions added to the Makefile by the project generator. These are based on the configured target platform and build configuration.
Custom Preprocessor Definitions
This field allows to add custom pre-processor definitions to the generated Makefile. It is possible to add a definition to all or only to a specific configuration settings for the Imt.Base packages.

 

No IDE

There is no configuration if only Config Header Files are generated.

 

Tab Actions

This tab does not provide any special actions.

 

Required Module: DATAFLOW Code, DATAFLOW Frames

This Article has been written based on V2.1.1 of the DATAFLOW software. 
Latest update 2023-05-31 by WUM.

Go back