Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / FFI / ForeignOptsC / foreign-opts-c.cabal
blob72df2654a5177e75b5eb82efb91a8d72e5995bf3
1 cabal-version:       2.2
2 name:                foreign-opts-c
3 version:             0.1
4 build-type:          Simple
6 executable foreign-opts-c-exe
7   main-is:             Main.hs
8   build-depends:       base
9   default-language:    Haskell2010
10   include-dirs:        cbits
11   c-sources:           cbits/clib.c
12   -- The following options are shared in all ForeignOpts cases:
13   cc-options:          -D__TESTOPT_C__=11
14   cxx-options:         -D__TESTOPT_CXX__=22