Skip to content
Stefano Zaghi edited this page Apr 29, 2016 · 3 revisions

Build all programs found excluding some files

Let us assume to add some sources into our tree, but we do not want to build them

└── src
    ├── bar.f
    ├── cumbersome.f90
    └── nested-1
        ├── first_dep.f90
        ├── foo.f90
        └── nested-2
            └── second_dep.inc

We want to exclude foo.f90 and bar.f. We can just use the --exclude option

FoBiS.py build --exclude foo.f90 bar.f

FoBiS.py will recursively search for program files in the directories nested in "./" and, excluding foo.f90 and bar.f, all other files will be parsed and, in case, built.

Clone this wiki locally