| Cabal-1.6.0.3: A framework for packaging Haskell software | Source code | Contents | Index

Distribution.Simple.Build.Macros

Portability | portable
Maintainer | cabal-devel@haskell.org

Description

Generate cabal_macros.h - CPP macros for package version testing

When using CPP you get

     MIN_VERSION_<package>(A,B,C)

for each package in `build-depends`, which is true if the version of package in use is `>= A.B.C`, using the normal ordering on version numbers.

Documentation

generate :: PackageDescription -> LocalBuildInfo -> String | Source

Produced by Haddock version 2.4.2