2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-23 02:16:01 +01:00
waf/tests/nodes
2011-09-10 11:13:51 +02:00
..
src Initial commit 2011-09-10 11:13:51 +02:00
main.c Initial commit 2011-09-10 11:13:51 +02:00
README.txt Initial commit 2011-09-10 11:13:51 +02:00
wscript Initial commit 2011-09-10 11:13:51 +02:00

Node concepts, without a particular order
-----------------------------------------

when finding a source dir:
 1. eliminate src files that do not exist anymore
 2. look in os.listdir or try os.stat

when declaring a build file:
 1. construct the folder structure in the build dir to avoid the manual mkdirs
 2. create the nodes for the src dir too if the folders exist

when looking for a resource:
 1. return either a source file or a build file, the build file will have the priority
 2. find the intermediate source and build nodes

The calls to os.listdir should be cached somehowa cache for os.listdir

Eliminate source dir nodes when they do not exist anymore

When build nodes do not exist, do not delete them but remove the signatures

Using the testcase
------------------

Execute
../waf distclean configure build