Lines Matching refs:macros
106 self.macros = []
170 for defn in self.macros:
206 del self.macros[i]
209 self.macros.append (defn)
224 del self.macros[i]
227 self.macros.append (undefn)
323 def _setup_compile(self, outdir, macros, incdirs, sources, depends, argument
331 if macros is None:
332 macros = self.macros
333 elif isinstance(macros, list):
334 macros = macros + (self.macros or [])
355 pp_opts = gen_preprocess_options(macros, incdirs)
365 return macros, objects, extra, pp_opts, build
376 def _fix_compile_args(self, output_dir, macros, include_dirs): argument
391 if macros is None:
392 macros = self.macros
393 elif isinstance(macros, list):
394 macros = macros + (self.macros or [])
406 return output_dir, macros, include_dirs
497 def preprocess(self, source, output_file=None, macros=None, argument
510 def compile(self, sources, output_dir=None, macros=None, argument
564 macros, objects, extra_postargs, pp_opts, build = \
565 self._setup_compile(output_dir, macros, include_dirs, sources,
1008 def gen_preprocess_options(macros, include_dirs): argument
1031 for macro in macros: