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

Ros.Core.Build.SetupUtil

Description

Integration with the Cabal build system.

Synopsis

Documentation

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

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

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