Set the list of directories that will be searched to 'dirs' (a list of strings). Overrides any preceding calls to 'add_include_dir()'; subsequence calls to 'add_include_dir()' add to the list passed to 'set_include_dirs()'. This does not affect any list of standard
(self, dirs)
| 220 | self.include_dirs.append(dir) |
| 221 | |
| 222 | def set_include_dirs(self, dirs): |
| 223 | """Set the list of directories that will be searched to 'dirs' (a |
| 224 | list of strings). Overrides any preceding calls to |
| 225 | 'add_include_dir()'; subsequence calls to 'add_include_dir()' add |
| 226 | to the list passed to 'set_include_dirs()'. This does not affect |
| 227 | any list of standard include directories that the compiler may |
| 228 | search by default. |
| 229 | """ |
| 230 | self.include_dirs = dirs[:] |
| 231 | |
| 232 | |
| 233 | # -- Private utility methods -------------------------------------- |
no outgoing calls
no test coverage detected