11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

•Click on the Project tab.•Select the solution or project the macro should apply to.•Set the macro using the syntax name = replacement text.Alternatively you can set the project macros from the properties window:•Select the appropriate solution/project in the Project Explorer.•In the properties window, select the Macros property in the General Optionsgroup.•Click on the the ellipsis button on the right.•Set the macro using the syntax name = replacement text.Build macrosThe following macro values are defined by the project system <strong>for</strong> a build of a givenproject node.MacroProjectDirProjectNameConfigurationSolutionDirSolutionNameInputFileNameInputNameInputExtIntDirOutDirEXELIBOBJDescriptionThe project directory.The project name.The selected build configuration.The directory containing the solution file.The solution name.The name of an input file relative to its project directory.The name of an input file relative to its project directorywithout its extension.The extension of an input file.The macro-expanded value of the IntermediateDirectory property.The macro-expanded value of the Output Directoryproperty.The default file extension <strong>for</strong> an executable fileincluding the dot.The default file extension <strong>for</strong> a library file including thedot.The default file extension <strong>for</strong> an object file including thedot.Chapter 4Project macros55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!