Add migration guide for #9718 (#10578)
[cabal.git] / cabal-testsuite / PackageTests / Check / Cond / DeepMissing / pkg.cabal
blob241e92623c9ac756bcdcade1c276c1019a7fdc00
1 cabal-version: 3.0
2 name: pkg
3 synopsis: synopsis
4 description: description
5 version: 0
6 category: example
7 maintainer: none@example.com
8 license: GPL-3.0-or-later
10 flag my-flag
11   description: Test for branches.
12   default: False
13   manual: True
15 flag another-flag
16   description: Deep test for branches.
17   default: False
18   manual: True
20 executable exe
21   if flag(my-flag)
22     if flag(another-flag)
23       main-is: Main.hs
24       build-depends: async, unix
25       c-sources: executable/link.c
26     else
27       build-depends: async, unix
28       c-sources: executable/link.c
29   else
30     main-is: ParallelMain.hs
32   if os(windows)
33     ghc-options: -pgml misc/static-libstdc++
35   default-language: Haskell2010