02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

4<br />

Projects<br />

To link an object file with a project, list the full path to the file. The recommended<br />

way to link library (archive) files is to add the libraries to the list defined by the<br />

LIBS macro (see Makefile Macros, p.131).<br />

! WARNING: You cannot link another project object file (projectName.out) with the<br />

project you are building. You must compile the other project as a library (Build<br />

Specifications, p.106), and then link it with the current project.<br />

4<br />

4.5.2 Creating New Build Specifications<br />

You can create new build specifications for a project with the Add New Build<br />

Specification window, which is displayed with the New Build option on the context<br />

menu. For example, one build specification can be created that includes debug<br />

information, and another that does not; specifications can be created for different<br />

image types, optimization levels, and so on. You can create a new build<br />

specification by copying from an existing specification, or by creating it as a default<br />

specification for a given toolchain (Figure 4-42).<br />

Figure 4-42<br />

New Build Specification<br />

Once you have created a new build specification, use the build specification<br />

property sheet to define it (see 4.5.1 Changing a Build Specification, p.128).<br />

135

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

Saved successfully!

Ooh no, something went wrong!