read flags from compileFile. filename should be realpath
(filename, compileFile, store)
| 327 | |
| 328 | |
| 329 | def GetFlagsInCompile(filename, compileFile, store): |
| 330 | """read flags from compileFile. filename should be realpath""" |
| 331 | if compileFile: |
| 332 | command = commandForFile(filename, compileFile, store) |
| 333 | if command: |
| 334 | flags = cmd_split(command)[1:] # ignore executable |
| 335 | return list(filterFlags(flags, store.setdefault("filelist", {}))) |
| 336 | |
| 337 | |
| 338 | def GetFlags(filename: str, compileFile=None, store=None): |
no test coverage detected