Q.:
Can I use the same macro to build different versions of my product?
A.: Yes, you can. The best way to do this is to use multiple configurations
within your macro. A macro configuration includes the following:
- property values of all operations that exist in the macro;
- values of all custom constants and stored variables that are defined in the macro;
- the Environment attributes of all custom constants and variables (including
the stored variables) that are defined in the macro.
Therefore, you can have one structure of operations within your macro for all of
the product versions you need to build, and have an individual macro configuration
for each of these versions. For instance, one configuration for the Debug version,
another configuration for the Release version, etc. To learn more about this, see
Using Macro Configurations.