Commits

Author Commit Message Labels Comments Date
arrowdodger
Haskell routines used in runhaskell() calls.
arrowdodger
find_cabal_library() replaced with find_cabal_package(), which uses ghc-pkg to obtain information about installed packages.
arrowdodger
Get directories for source files gathering from cabal file.
arrowdodger
A lot of improvements in FindCabal.cmake: runhaskell() macro, get_ghc_property() macro, find_cabal_library() macro, expose GHC runtime libs and includes. Cleanups in AddCabal.cmake.
arrowdodger
Depend on *.chs files also.
arrowdodger
Add DEPENDS for custom commands. Now CMake triggers rebuild when .cabal or any .hs file havt been changed.
arrowdodger
Fix after refactoring.
arrowdodger
Add detection of Setup.hs filename.
arrowdodger
Remove code for gathering source files, as it wasn't working right anyway. Refactor things, adjust parser.
arrowdodger
Update versions.
arrowdodger
AddCabal.cmake: Populate SOURCES property for cabal target.
arrowdodger
Refactor FindCabal.cmake. Add support for Linux (Fedora 15 at least).
arrowdodger
Set optimization and verbosity level by checking CMAKE_BUILD_TYPE and CMAKE_VERBOSE_MAKEFILE vars. Add CABAL_FLAGS cache variable. Stub out COMMENT in custom commands.
arrowdodger
Implement FindCabal.cmake.
arrowdodger
Initial commit.