mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-11 19:05:04 +01:00
docs
This commit is contained in:
parent
120af4f1d0
commit
b45f52165b
@ -1,3 +1,10 @@
|
||||
NEW IN WAF 1.8.10
|
||||
-----------------
|
||||
* Replace cygwin paths in solution files - https://github.com/waf-project/waf/issues/1562
|
||||
* Fixed the hcode in why.py - https://github.com/waf-project/waf/issues/1561
|
||||
* Enabled execution from any folder: "waf configure --top=/arbitrary/folder --out=/tmp/build"
|
||||
* Enabled stateless out-of-tree builds by default: "waf configure --no-lock-in-top --no-lock-in-run"
|
||||
|
||||
NEW IN WAF 1.8.9
|
||||
----------------
|
||||
* VS 2013 supports cross-compiling for x86 and arm from amd64
|
||||
|
@ -64,7 +64,7 @@ def f(tsk):
|
||||
'''
|
||||
|
||||
classes = {}
|
||||
"class tasks created by user scripts or Waf tools are kept in this dict name -> class object"
|
||||
"Class tasks created by user scripts or Waf tools (maps names to class objects). Task classes defined in Waf tools are registered here through the metaclass :py:class:`waflib.Task.store_task_type`."
|
||||
|
||||
class store_task_type(type):
|
||||
"""
|
||||
@ -118,6 +118,8 @@ class TaskBase(evil):
|
||||
#. runnable_status: ask the task if it should be run, skipped, or if we have to ask later
|
||||
#. run: let threads execute the task
|
||||
#. post_run: let threads update the data regarding the task (cache)
|
||||
|
||||
.. warning:: For backward compatibility reasons, the suffix "_task" is truncated in derived class names. This limitation will be removed in Waf 1.9.
|
||||
"""
|
||||
|
||||
color = 'GREEN'
|
||||
@ -402,6 +404,8 @@ class Task(TaskBase):
|
||||
uses a hash value (from :py:class:`waflib.Task.Task.signature`) which is persistent from build to build. When the value changes,
|
||||
the task has to be executed. The method :py:class:`waflib.Task.Task.post_run` will assign the task signature to the output
|
||||
nodes (if present).
|
||||
|
||||
.. warning:: For backward compatibility reasons, the suffix "_task" is truncated in derived class names. This limitation will be removed in Waf 1.9.
|
||||
"""
|
||||
vars = []
|
||||
"""Variables to depend on (class attribute used for :py:meth:`waflib.Task.Task.sig_vars`)"""
|
||||
|
@ -384,7 +384,7 @@ def check_cfg(self, *k, **kw):
|
||||
conf.check_cfg(path='mpicc', args='--showme:compile --showme:link',
|
||||
package='', uselib_store='OPEN_MPI', mandatory=False)
|
||||
# variables
|
||||
conf.check_cfg(package='gtk+-2.0', variables='includedir', uselib_store='FOO')
|
||||
conf.check_cfg(package='gtk+-2.0', variables=['includedir', 'prefix'], uselib_store='FOO')
|
||||
print(conf.env.FOO_includedir)
|
||||
"""
|
||||
if k:
|
||||
|
Loading…
Reference in New Issue
Block a user