cabal-version:       2.4
name:                cabal-add-multitarget
version:             0.1.0.0
build-type:          Simple

executable cabal-add-exe
    main-is:             Main.hs
    hs-source-dirs:      src
    ghc-options:         -Wall
    build-depends:       base
    default-language:    Haskell2010

library
    exposed-modules:     MyLib
    other-modules:       InternalLib
    build-depends:       base >= 4 && < 5
    hs-source-dirs:      lib
    ghc-options:         -Wall

test-suite cabal-add-tests-test
    main-is:             Main.hs
    hs-source-dirs:      test
    type:                exitcode-stdio-1.0
    build-depends:       base
    default-language:    Haskell2010

benchmark benchmark
    main-is:             Main.hs
    build-depends:       base
    hs-source-dirs:      bench
    type:                exitcode-stdio-1.0
    ghc-options:         -threaded

