Lines Matching refs:macros
98 self.macros = []
161 for defn in self.macros:
195 del self.macros[i]
197 self.macros.append((name, value))
212 del self.macros[i]
215 self.macros.append(undefn)
310 def _setup_compile(self, outdir, macros, incdirs, sources, depends, argument
318 if macros is None:
319 macros = self.macros
320 elif isinstance(macros, list):
321 macros = macros + (self.macros or [])
341 pp_opts = gen_preprocess_options(macros, incdirs)
351 return macros, objects, extra, pp_opts, build
362 def _fix_compile_args(self, output_dir, macros, include_dirs): argument
377 if macros is None:
378 macros = self.macros
379 elif isinstance(macros, list):
380 macros = macros + (self.macros or [])
392 return output_dir, macros, include_dirs
498 def preprocess(self, source, output_file=None, macros=None, argument
511 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,
1034 def gen_preprocess_options(macros, include_dirs): argument
1056 for macro in macros: