Previous Next
Avoiding unnecessary builds in the PWE

An essential aspect of shared object working environments (SOWEs) is avoiding unnecessary builds in PWEs that access them. When you build the targets of a project opened in your PWE, only checked-out source files newer than their dependencies in the SOWE are compiled. All other objects are taken from the SOWE. This can speed up builds in PWEs considerably.
For example, suppose you're working in your PWE on a project called
Views.shared , whose target is an executable. The SOWE accessed by your PWE already has targets for the project. Let's further suppose that you've checked out and modified a single header file, View.h , in your PWE.
Now, when you build the project's executable in your PWE, View.o will be locally built in your PWE, and SNiFF+ creates symbolic links to all other objects in the SOWE. As a result, your local View.o will be linked with other shared object files to produce your executable.

Previous Next