Package Yab :: Module VisualC :: Class RCTarget
[show private | hide private]
[frames | no frames]

Class RCTarget

CPreprocessorMixin --+
                     |
 Delegator --+       |
             |       |
      BuildEnv --+   |
                 |   |
        TargetBase --+
                     |
                    RCTarget


Method Summary
  __init__(self, parent_env, source_file, locate)
  build_me(self)
    Inherited from CPreprocessorMixin
  calc_flattened_headers(self, source, include_path)
  calculate_depends(self, include_path, path)
Given the include path and the path of a C source file, return the list of files that this one directly includes.
  find_header(self, include_dirs, name)
Given a file name and a list of include directories, return the path of the include file if it is found in one of the directories, or None if not.
  get_includes(self, path)
Scan the path, getting the bracketed and quoted proprocessor include directives.
  source_fixup(self)
Overridden to find included files and add them to self.dependencies before calling the next method.
  update_header_info(self, include_path, path)
Update the header info stored on the File.
    Inherited from TargetBase
  __add__(self, other)
  add_dependencies(self, deps)
  add_file(self, file, ext)
  add_file_or_target(self, file)
  add_files(self, files, delegator)
  add_target(self, target)
  all_file_objects(self, files_so_far)
  all_files(self)
  append_source(self, s)
  append_target(self, t)
  build(self)
  calc_env(self)
  clean(self)
  maybe_create_dirs(self)
  mtime(self)
  print_depends(self, indent_level)
Print dependancy information.
  source_mtime(self)
  split(self)
  target_name(self)
    Inherited from BuildEnv
  __getattr__(self, attr)
  __setattr__(self, attr, value)
  get_env(self)
This function will combine the environment variables with those of its delegate and return a dictionary containing the merged result.
  get_locate(self)
Locate can not be a build variable because it is needed when the build environment is constructed in order to specify where the targets reside.
  run_command(self, unparsed_command, in_dir, real_command, globals)
Parse the command, replacing $ expressions, and run it.
  subst_vars(self, cmd, globals)
Take a command string and replace the $ forms with evaluated pythod results.

Class Variable Summary
    Inherited from CPreprocessorMixin
SRE_Pattern b_include_re = \s*#\s*include\s*<([^>]*)>
SRE_Pattern q_include_re = \s*#\s*include\s*"([^"]*)"
    Inherited from BuildEnv
SRE_Pattern escape_re = \$\{([^\}]*)\}
SRE_Pattern escape_re2 = \$([_A-Za-z0-9]+)

Generated by Epydoc 2.0 on Fri Aug 15 16:30:51 2003 http://epydoc.sf.net