roshask-0.2.1: Haskell support for the ROS robotics framework.

Safe HaskellNone
LanguageHaskell2010

Ros.Internal.SetupUtil

Description

Integration with the Cabal build system.

Synopsis

Documentation

rosBuild :: PackageDescription -> LocalBuildInfo -> UserHooks -> BuildFlags -> IO () Source

The buildHook override integrates a new HookedBuildInfo with the PackageDescription in order to include additional directories (e.g. those with message type definitions) in the hsSourceDirs field.

rosConf :: (GenericPackageDescription, HookedBuildInfo) -> ConfigFlags -> IO LocalBuildInfo Source

The confHook override takes over cabal install's --bindir option to force binary outputs into the bin subdirectory of the package directory.