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.

5Building projectsCrossStudio provides a facility to build projects in various configurations.Build configurations and their usesConfigurations are typically used to differentiate debug builds from release builds.For example, debug builds will have different compiler options to a release buid: adebug build will set the options so that the project can be debugged easily, whereas arelease build will enable optimization to reduce program size or increase its speed.Configurations have other uses; <strong>for</strong> example, you can use configurations to producevariants of software such as a library <strong>for</strong> <strong>for</strong> several different hardware variants.Configurations inherit properties from other configurations. This provides a singlepoint of change <strong>for</strong> definitions that are common to configurations. A particularproperty can be overridden in a particular configuration to provide configurationspecificsettings.When a solution is created two configurations are generated, Debug and Release,and you can create additional configurations using Build > Build Configurations.Be<strong>for</strong>e you build, ensure that the appropriate configuration is set using Project > SetActive Build Configuration or alternatively the configuration box in the build toolbar. You should also ensure that the appropriate build properties are set in theproperties window.

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

Saved successfully!

Ooh no, something went wrong!