mirror of https://gitlab.com/ita1024/waf.git
apidoc fixes
This commit is contained in:
parent
f1677f347c
commit
5b3dc2c5ab
|
@ -89,6 +89,7 @@ The first three tools in the following list may be used for detecting D compiler
|
||||||
|
|
||||||
tools/compiler_d
|
tools/compiler_d
|
||||||
tools/dmd
|
tools/dmd
|
||||||
|
tools/ldc2
|
||||||
tools/gdc
|
tools/gdc
|
||||||
tools/d_config
|
tools/d_config
|
||||||
tools/d
|
tools/d
|
||||||
|
|
|
@ -155,10 +155,7 @@ class BuildContext(Context.Context):
|
||||||
|
|
||||||
def rule(self, *k, **kw):
|
def rule(self, *k, **kw):
|
||||||
"""
|
"""
|
||||||
Wrapper for creating a task generator using the decorator notation.
|
Wrapper for creating a task generator using the decorator notation. The following code::
|
||||||
|
|
||||||
|
|
||||||
The the following code:
|
|
||||||
|
|
||||||
@bld.rule(
|
@bld.rule(
|
||||||
target = "foo"
|
target = "foo"
|
||||||
|
@ -166,7 +163,7 @@ class BuildContext(Context.Context):
|
||||||
def _(tsk):
|
def _(tsk):
|
||||||
print("bar")
|
print("bar")
|
||||||
|
|
||||||
is equivalent to:
|
is equivalent to::
|
||||||
|
|
||||||
def bar(tsk):
|
def bar(tsk):
|
||||||
print("bar")
|
print("bar")
|
||||||
|
|
|
@ -55,7 +55,7 @@ You also need to edit your sources accordingly:
|
||||||
self.includes = list(incs)
|
self.includes = list(incs)
|
||||||
|
|
||||||
Note: another tool provides Qt processing that does not require
|
Note: another tool provides Qt processing that does not require
|
||||||
.moc includes, see ``playground/slow_qt/``self.
|
.moc includes, see 'playground/slow_qt/'.
|
||||||
|
|
||||||
A few options (--qt{dir,bin,...}) and environment variables
|
A few options (--qt{dir,bin,...}) and environment variables
|
||||||
(QT4_{ROOT,DIR,MOC,UIC,XCOMPILE}) allow finer tuning of the tool,
|
(QT4_{ROOT,DIR,MOC,UIC,XCOMPILE}) allow finer tuning of the tool,
|
||||||
|
|
Loading…
Reference in New Issue