11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

There is a special configuration named Common that is always inherited by aconfiguration. The Common configuration enables property values to be set that willapply to all configurations that you create. You can select theCommon configurationusing the Configurations combo box of the properties window. If you are modifying aproperty value of your project its almost certain that you want each configuration toinherit these values - so ensure that the Common configuration has been selected.If the property is unique then it will use the one defined <strong>for</strong> the particularconfiguration. If the property isnt defined <strong>for</strong> this configuration then it uses anarbitrary one from the set of inherited configurations. If the property still isnt definedit uses the value <strong>for</strong> the Common configuration. If it still isnt defined then it tries theto find the value in the next level of the project hierarchy.solution [Common] — Preprocessor Definitions = CommonSolutionDefsolution [Debug] — Preprocessor Definitions = DebugSolutionDefsolution [Release] — Preprocessor Definitions = ReleaseSolutionDefproject1 - Preprocessor Definitions =file1 - Preprocessor Definitions =file2 [Common] — Preprocessor Definitions = CommonFile1Deffile2 [Debug] — Preprocessor Definitions = DebugFile1Defproject2 [Common] — Preprocessor Definitions = ProjectDeffile1 — Preprocessor Definitions =file2 [Common] - Preprocessor Definitions = File2DefIn the above example the files will be compiled with these Preprocessor Definitionswhen in Debug configurationproject1/file1project1/file2project2/file1project2/file2CommonSolutionDef, DebugSolutionDefCommonSolutionDef,DebugSolutionDef,CommonFile1Def,DebugFile1DefCommonSolutionDef, DebugSolutionDef,ProjectDefComonSolutionDef, DebugSolutionDef,ProjectDef, File2Defand the files will be compiled with these Preprocessor Definitions when in Releaseconfigurationproject1/file1project1/file2CommonSolutionDef, ReleaseSolutionDefCommonSolutionDef, ReleaseSolutionDef,CommonFile1DefChapter 4Project properties51

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

Saved successfully!

Ooh no, something went wrong!