| Home | Trees | Index | Help |
|---|
| Package Yab :: Module GNU :: Class Toolset |
|
Delegator--+ |BuildEnv--+ |ToolsetBase--+ | Toolset
Toolset,
Toolset| Method Summary | |
|---|---|
'id' is a unique id for any subclass. | |
calc_env(self)
| |
Create a build target that represents a C++ object file. | |
Create a build target that represents a C++ object file. | |
Create a build target that represents an executable program. | |
make_shared_lib(self,
lib_name,
locate,
version,
delegator)
| |
make_static_lib(self,
lib_name,
locate,
delegator)
| |
Specify that the standard C++ template library will be used. | |
| Inherited from ToolsetBase | |
| |
| |
Construct a target object that represents the result of running the given command. | |
Create a build target that represents copying the source to the target. | |
Specify that the given library should be loaded on an as needed basis instead of at startup time. | |
Used to get a handle to the toolset object from a generated target | |
Return the variant we are currently building. | |
Print the feature values set on this toolset. | |
Return true if a target can be included in a shared library. | |
Run a test against the C compiler in this toolset. | |
| Inherited from BuildEnv | |
This function will combine the environment variables with those of its delegate and return a dictionary containing the merged result. | |
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. | |
Parse the command, replacing $ expressions, and run it. | |
Take a command string and replace the $ forms with evaluated pythod results. | |
| Class Variable Summary | |
|---|---|
| Inherited from BuildEnv | |
SRE_Pattern |
escape_re = \$\{([^\}]*)\}
|
SRE_Pattern |
escape_re2 = \$([_A-Za-z0-9]+)
|
| Method Details |
|---|
__init__(self,
id,
prog_extension,
**kw)
'id' is a unique id for any subclass. 'prog_extension' is the file
extension used for executable files.
|
make_c_obj(self, sources, locate=None, delegator=None)Create a build target that represents a C++ object file. You probably shouldn't call this directly unless you are going to ship the object file as part of the distribution. Instead, call add_sources on an executable or library target.
|
make_cpp_obj(self, sources, locate=None, delegator=None)Create a build target that represents a C++ object file. You probably shouldn't call this directly unless you are going to ship the object file as part of the distribution. Instead, call add_sources on an executable or library target.
|
make_executable(self, prog_name, locate=None, def_file=None, delegator=None)Create a build target that represents an executable program.
|
use_std_cpp(self, delegator=None)Specify that the standard C++ template library will be used. Checks the appropriate compiler settings and adds the appropriate libraries for each platform
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Fri Aug 15 16:30:50 2003 | http://epydoc.sf.net |