dib-0.7.1: A simple, forward build system.

Dib.Builders.C

Description

A builder for C/C++ code.

Synopsis

# Documentation

The record type that is used to pass configuration info for the C builder.

Constructors

 CTargetInfo Text Text Text BuildLocation Text Text Text Text Text Text Text Text Text Text Text [Text] [Text] [Text] [Text] Bool

The data type for specifying where built files end up.

Constructors

 InPlace Specifies that object files will end up adjacent to their source files and the executable will be in the same directory as the dib.hs file. BuildDir Text Specifies that the object files and executable will go in a certain directory. ObjAndBinDirs Text Text Specifies that the object files will go in the first directory and the executable in the second directory.

Given a CTargetInfo, produces a Target

Given a CTargetInfo, produces a Target that will clean the project.

Given a CTargetInfo, will make the directories required to build the project.

An empty configuration.

A default configuration for gcc.

A default configuration for g++.

A default configuration for clang.