This PDF document describes how to design a model and transformation configurations so that you can build multiple variants of an application without creating individual TC files for all variants.
Use the following files together with the tutorial: BuildVariants_Tutorial.zip
This sample ws_build_variants.zip demonstrates how to generate code and build executables for various target platforms with one transformation configuration (TC) and build variants.
It also contains TracingController class which demonstrates how to programmatically turn on tracing for the entire execution of an application.
| Video Title | Description |
|---|---|
Building Variants for Multiple Build Configurations |
Learn how to manage multi-platform builds using transformation configurations and build variants. |
Writing Build Variant scripts with a dynamic behavior |
Learn how a build variant script can access the kind of TC being built, environment variables, etc., to create a dynamic build user interface. |
Using Build Variants to control which version of a library to link with |
Learn which TC properties a build variant script is allowed to set. |
Handling errors in Build Variant scripts |
Learn how errors can be handled in a build variant script. |