Zero-configuration builds
Drop FoBiS into any Fortran project and run `fobis build`. It recursively scans sources, resolves all `use` and `include` dependencies, and compiles in the correct order โ automatically.
Automatic dependency-resolving build tool for modern Fortran projects โ no makefiles, no boilerplate.
Modern Fortran's module system is powerful โ but tracking inter-module compilation order by hand in a makefile quickly becomes a nightmare as project size grows. Every time you add a module, rename a file, or restructure directories, the makefile needs manual updates.
FoBiS solves this completely. It parses source files on every invocation, rebuilds the dependency graph from scratch, and compiles in the correct order โ with no configuration required for simple projects.
# That's it. FoBiS finds all programs, resolves all dependencies, compiles.
fobis buildFor complex projects, a single fobos file in the project root replaces makefiles entirely:
[modes]
modes = debug release
[debug]
compiler = gnu
cflags = -c -O0 -g -Wall
build_dir = ./build/debug/
[release]
compiler = gnu
cflags = -c -O3
build_dir = ./build/release/fobis build -mode releaseFoBiS is used to build a wide range of Fortran projects:
Stefano Zaghi โ stefano.zaghi@cnr.it ยท GitHub
FoBiS.py is an open source project distributed under the GPL v3 license. Anyone interested in using, developing, or contributing to FoBiS.py is welcome โ see the contributing guidelines.