Configurations

For each component, you can define multiple configurations. While components are used to specify what elements code should be generated for, configurations are used to instruct Rhapsody® to generate the code differently for different purposes.

For example:

You may want to have one configuration to generate code that includes the instrumentation code that is necessary to animate your model in Rhapsody , and then use a second configuration for generating your production code.

You may want to have one configuration for generating code for an application that will be run on a Windows-based system, and a second configuration for generating code for an application that will be run on a VxWorks-based system.

If you look at the various options on the Settings tab of the Features window for configurations, you'll probably discover some other ways in which you may want to use multiple configurations for generating code for your model.

For each of your configurations, Rhapsody generates an appropriate main file and makefile, based on the settings you chose.

Note: If the Environment field in your configuration is set to one of the MSVC* environments, verify that the property IDEVersion is set to the correct value. For example, if the Environment field is set to MSVC, locate the property [lang_cg]::MSVC::IDEVersion and make sure that the value of the property reflects the version of Microsoft Visual Studio that you are using (VC11 for Visual Studio 2012, VC14 for Visual Studio 2015, and VC15 for Visual Studio 2017).