dib-0.7.1: A simple, forward build system.

Safe HaskellNone
LanguageHaskell98

Dib.Scanners.CDepScanner

Description

C dependency scanner. Runs a stripped-down pre-processor to scan for include files (recursively).

Synopsis

Documentation

cDepScanner :: [FilePath] -> SrcTransform -> IO SrcTransform Source #

Takes in a list of include directories, extra dependencies, a SrcTransform, and returns a new SrcTransform with the dependencies injected into the source side.