| Home | Trees | Index | Help |
|---|
| Package Yab :: Module VisualC :: Class Toolset |
|
Delegator--+ |BuildEnv--+ |ToolsetBase--+ | Toolset
VC6Toolset,
VC7Toolset| Method Summary | |
|---|---|
__init__(self,
**kw)
| |
calc_env(self)
| |
Specify that the given library should be loaded on an as needed basis instead of at startup time. | |
Create a build target that represents a C++ object file. | |
Create a build target that represents a C++ object file. | |
make_executable(self,
prog_name,
locate,
delegator)
| |
Create a build target that represents a shared library. | |
make_static_lib(self,
lib_name,
locate,
delegator)
| |
use_directx(self,
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. | |
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 |
|---|
delay_load(self, lib_name, delegator=None)Specify that the given library should be loaded on an as needed basis instead of at startup time. Currently noop on anything other than Visual C++
|
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_shared_lib(self, lib_name, version=None, locate=None, delegator=None)Create a build target that represents a shared library. On windows, the result is a dll. On cygwin, this is the same as make_static_lib. If version is specified, it is in the form major.minor, and will create an output file according the the platform conventions
|
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:52 2003 | http://epydoc.sf.net |