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.

•Combining — a project that can be used to apply a user defined command whenany files in a project have changed.Properties and configurationsProperties are data that are attached to project nodes. They are usually used in thebuild process <strong>for</strong> example to define C preprocessor symbols. You can have differentvalues of the same property based on a configuration, <strong>for</strong> example you can change thevalue of a C preprocessor symbol <strong>for</strong> a release or a debug build.FoldersProjects can contain folders which are used to group related files together. Thisgrouping can be done using the file extension of the file or it can be done by explicitlycreating a file within a folder. Note that folders do not map onto directories in the filestore they are solely used to structure the project explorer display.FilesThe source files of your project can be placed either in folders or directly in the project.Ideally files placed in project should be relative to the project directory, however thereare cases when you might want to refer to a file in an absolute location and this issupported by the project system. The project system will allow (with a warning)duplicate files to be put into a project.The project system uses the extension of the file to determine the appropriate buildaction to per<strong>for</strong>m on the file. So•a file with the extension .c will be compiled by a C compiler.•a file with the extension .s or .asm will be compiled an assembler.•a file with the extension .cpp or .cxx will be compiled by a C++ compiler.•a file with the object file extension .o or .hzo will be linked.•a file with the library file extension .a or .hza will be linked.•a file with the extension .xml will be opened and its file type determined by theXML document type.•other file extensions will not be compiled/linked with.You can modify this behaviour by setting the File Type property of the file with theCommon configuration selected in the properties window which enables files withnon-standard extensions to be compiled by the project system.Chapter 4Project system45

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

Saved successfully!

Ooh no, something went wrong!