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.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

The first level of folders in the Files view are projects. Each project folder contains:<br />

■<br />

■<br />

Project source code files, which are added to the project by the user.<br />

An Object Modules folder, which contains a list of objects that the project’s build<br />

will produce. The list is automatically generated by the project facility.<br />

■<br />

An External Dependencies folder, which contains a list of make dependencies.<br />

The list is automatically generated by the project facility.<br />

Initially, there are only the default folders for Object Modules and External<br />

Dependencies, and the projectName.out file. The file projectName.out is created as a<br />

single, partially-linked module when the project is built. It comprises all of the<br />

individual object modules in a project for a downloadable application, and<br />

provides for downloading them to the target simultaneously.<br />

! WARNING: Use of the projectName.out file is essential for downloading C++<br />

modules, which require munching for proper static constructor initialization. You<br />

should also use the projectName.out file for downloading C modules to avoid any<br />

potential link order issues related to dynamic loading and linking.<br />

Creating, Adding, and Removing Application Files<br />

To create a new file, click File>New. Select the file type from the New dialog box.<br />

Then select the project to which the file should be added. Finally, enter the file<br />

name and directory, and click OK (Figure 4-9). The editor window opens, and you<br />

can write your code and save the file.<br />

Figure 4-9<br />

New File Dialog Box<br />

102

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

Saved successfully!

Ooh no, something went wrong!