In this section, you will learn how to set up Make Support for your projects. To set up Make Support:
Start SNiFF+ and open the project for which you want to set up Make Support.
Setting common Make attributes in the Group Project
Check out the Project Description Files (PDFs) of all the projects for which you will be
building targets.
In the Project Tree, checkmark all the projects for which you will be building targets.
Choose Project > Attributes of Checkmarked Projects....
The Group Project Attributes dialog appears.
Select the Build Options node.
Attributes dialog
You will now set those Make attributes which are the same for all the projects for which you will be building targets. Basically, to set the attributes, you will perform the following tasks:
Make attributes in the Group Project Attributes dialog are grouped into 5 main views. In the rest of this section, you will set the attributes, one view at a time.
In the Build Options view
Select the check boxes to the right of the Generate button.
Select the Advanced node.
The header file
bar.h is in two subprojects: in one that is listed in the Include Directive(s) field and in one that isn't.
The header file
bar.h is in a subproject that isn't listed in the Include Directive(s) field.
Select the Build Structure node.
In the Build Structure view
![]() |
Note
| All targets imported to a project are displayed in the Received from Subprojects field.
| |
To build your project's target recursively, make sure that the order of subproject directories
listed in the Recursive Make Dir(s) field is correct.
SNiFF+ will build -- in the order of listed subproject directories -- the default target of
each of the subprojects during a recursive Make.
If there are any discrepancies, press the Generate... button next to the field.
SNiFF+ will regenerate the order of subproject directories.
IMPORTANT: SNiFF+ considers only those subprojects that use SNiFF+ Make Support
when generating the order of subprojects.
Also, once you have pressed the Generate... button for a project, the Recursive Make
Dir(s) field will be automatically updated whenever you add/remove subprojects.
Press the Ok button to apply the Make attributes to the project.
Save the modified project.
Library
Object files + Received
Received targets
None
The library built in the project is exported to the superproject. Object files and relinkable objects imported to the project from its subprojects are used to build the library. Any libraries exported from subprojects are directly imported to the superproject.
Any library, relinkable object and/or executable targets built in the project are not exported to the superproject.
The object files in the project (built from the source files in the project), plus the targets exported from subprojects, are directly exported to the superproject.
Targets imported to the project from its subprojects are used to build the project's target. Targets and object files built in the project are not exported to the superproject.
The targets imported to the project are also exported to the superproject.
Targets imported to the project from its subprojects are used to build the project's target. Targets and object files built in the project are not exportable.
This setting is appropriate when the project's target is an executable.