add installflag for dynamic executables

This commit is contained in:
Tim Dysinger 2015-03-11 14:34:22 -10:00 committed by Chris Done
parent 4b651e8865
commit f6b95190f1
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,7 @@ data InstallFlags = InstallFlags
, ifEnableTests :: !Bool
, ifEnableHaddock :: !Bool
, ifEnableLibProfiling :: !Bool
, ifEnableExecDyn :: !Bool
, ifVerbose :: !Bool
, ifSkipCheck :: !Bool
} deriving (Show)

View File

@ -149,6 +149,9 @@ main =
switch
(long "enable-library-profiling" <>
help "Enable profiling when building") <*>
switch
(long "enable-executable-dynamic" <>
help "Enable dynamic executables when building") <*>
switch
(long "verbose" <> short 'v' <>
help "Output verbose detail about the build steps") <*>