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.

Solution linksYou can create links to existing project files from a solution which enables you to createhierarchical builds. For example you could have a solution that builds a librarytogether with a stub test driver executable. You can then link to this solution (by rightclicking on the solution node of the project explorer and selecting Add ExistingProject) to be able to use the library from a project in the current solution.Project and session filesWhen you have created a solution it is stored in a project file. Project files are text fileswith the file extension hzp that contain an XML description of your project. When youexit <strong>CrossWorks</strong>, details of your current session are stored in a session file. Session filesare text files with the file extension hzs that contain details such as files you haveopened in the editor and breakpoints you set in the breakpoint window.Creating a projectYou can create a new solution <strong>for</strong> each project or alternatively create projects in anexisting solution.To create a new project in an existing solution, do the following:•From the Project menu, click New then New Project... to display the New Projectwizard.•In the New Project wizard, select the type of project you wish to create and whereit will be placed.•Ensure that the "Add the project to current solution" radio button is checked.•Click OK to go to next stage of project creation or Cancel to cancel the creation.The project name must be unique to the solution and ideally the project directoryshould be relative to the solution directory. The project directory is where the projectsystem will use as the current directory when it builds your project. Once complete, theproject explorer displays the new solution, project, and files of the project. To addanother project to the solution, repeat the above steps.Creating a new project in a new solutionTo create a new project in a new solution, do the following:•From the File menu, click New then New Project... to display the New Projectdialog.46 Chapter 4 Project management

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

Saved successfully!

Ooh no, something went wrong!