Commit 316ff4cb authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add CppOpts.

parent cd02d006
......@@ -19,6 +19,7 @@ data PackageData = Modules FilePath
| Deps FilePath
| DepKeys FilePath
| Synopsis FilePath
| CppOpts FilePath
instance ShowArgs PackageData where
showArgs packageData = do
......@@ -30,6 +31,7 @@ instance ShowArgs PackageData where
Deps file -> ("DEPS" , file, "" )
DepKeys file -> ("DEP_KEYS" , file, "" )
Synopsis file -> ("SYNOPSIS" , file, "" )
CppOpts file -> ("CPP_OPTS" , file, "" )
fullKey = replaceSeparators '_' $ takeDirectory file ++ "_" ++ key
res <- askOracle $ PackageDataKey (file, fullKey)
return $ words $ case res of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment