Build Macros

A list of available Build Macros (variables) can be found by

A useful subset of the available Build Macros includes:

Usage

These are typically used in Pre- and Post- Build steps. For example, a Post-Build step to copy the built file to a fixed location:

cp ${BuildArtifactFileName} c:\temp;

Another example is to convert the executable file into a binary file:

arm-none-eabi-objcopy -O binary ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.bin ; 

More information can be found on Build Macros can be found at: http://publib.boulder.ibm.com/infocenter/rsahelp/v7r0m0/index.jsp?topic=/org.eclipse.cdt.doc.user/reference/cdt_u_mprop_macros.htm

BuildMacros (last edited 2011-06-17 16:57:09 by DerekMorris)