02.05.2013 Views

The Source Integrity Professional Edition User Guide - MKS

The Source Integrity Professional Edition User Guide - MKS

The Source Integrity Professional Edition User Guide - MKS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Getting Started With Projects, Sandboxes, and Members<br />

Using pj build<br />

Recalculate. Click to recalculate the member dependencies.<br />

For example, consider a project containing members foo.c and<br />

bar.c in which foo.c contains the line<br />

#include "rcsbase.h"<br />

If you specify that member dependencies should be added to the<br />

makefile, the following lines are added to the makefile:<br />

### <strong>Source</strong> <strong>Integrity</strong> generated dependencies<br />

follow, do not remove/change this line<br />

foo.obj : rcsbase.h<br />

This tells the Make program to rebuild foo.obj whenever<br />

rcsbase.h is newer than foo.obj.<br />

Add Missing Files. Click to check that all files in the dependency<br />

list are also members of the project. If they are not already<br />

members, the missing files are added to the project.<br />

Ignore Non-Members When Calculating. When this option is<br />

selected, files that are not members of the current project are not<br />

scanned when recalculating dependencies.<br />

For example, suppose a project contains the files foo.c and<br />

bar.c, and foo.c contains the line<br />

#include "rcsbase.h"<br />

<strong>Source</strong> <strong>Integrity</strong> normally adds rcsbase.h to the dependency list<br />

for foo.c. However, if the Ignore Non-Members When Calculating<br />

option is selected, rcsbase.h is not be added to the dependency<br />

list.<br />

Run Make. Click to run the specified Make program, using the<br />

current Build Project options.<br />

In the command line interface, you use the pj build command. Its<br />

syntax is<br />

where<br />

pj build [-i] [-Mmakefile] [-Ttemplate] [-w dir] [options]<br />

-i performs builds of included subprojects before building<br />

parent (including) project.<br />

-Mmakefile writes new makefile to file makefile. If not specified, pj<br />

build uses project or sandbox makefile=val setting; if that<br />

setting is not provided, filename makefile is used.<br />

122 <strong>Source</strong> <strong>Integrity</strong> <strong>Professional</strong> <strong>Edition</strong>

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

Saved successfully!

Ooh no, something went wrong!