Skip to content

Commit cd89a6c

Browse files
committed
Merge pull request #2036 from sergv/master
Describe "cpp-option" field
2 parents 6cc4699 + 788a046 commit cd89a6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cabal/doc/developing-packages.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,11 @@ values for these fields.
14141414
setup described in the section on [system-dependent
14151415
parameters](#system-dependent-parameters).
14161416

1417+
`cpp-options:` _token list_
1418+
: Command-line arguments for pre-processing Haskell code. Applies to
1419+
haskell source and other pre-processed Haskell source like .hsc .chs.
1420+
Does not apply to C code, that's what cc-options is for.
1421+
14171422
`ld-options:` _token list_
14181423
: Command-line arguments to be passed to the linker. Since the
14191424
arguments are compiler-dependent, this field is more useful with the

0 commit comments

Comments
 (0)