Project structures
You can include projects in other projects to create a hierarchical project structure. The process of including a project is referred to in SNiFF+ as adding a subproject.
Some typical uses of hierarchical project structures are:
- Your source files are already in a hierarchical directory structure and you want to use this
same structure in SNiFF+.
- You have a project that builds a library. You want to make this library accessible to other
projects. To do so, you would add the library subproject to your other projects. If you use
SNiFF+'s Make Support, you can then set an attribute that tells SNiFF+ to automatically
link the library to the targets of your projects.
- Your project uses an external shared library to builds its targets. Source code for the
shared library is also available, and you would like to browse it. To do so, you would create
a project for the external source code and include it in your main project. So, whenever
you open the main project, you can immediately browse the external source code as
well.
Note that SNiFF+'s Make Support also handles dependency tracking in project structures.