waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

README.txt (827B)


      1 Node concepts, without a particular order
      2 -----------------------------------------
      3 
      4 when finding a source dir:
      5  1. eliminate src files that do not exist anymore
      6  2. look in os.listdir or try os.stat
      7 
      8 when declaring a build file:
      9  1. construct the folder structure in the build dir to avoid the manual mkdirs
     10  2. create the nodes for the src dir too if the folders exist
     11 
     12 when looking for a resource:
     13  1. return either a source file or a build file, the build file will have the priority
     14  2. find the intermediate source and build nodes
     15 
     16 The calls to os.listdir should be cached somehowa cache for os.listdir
     17 
     18 Eliminate source dir nodes when they do not exist anymore
     19 
     20 When build nodes do not exist, do not delete them but remove the signatures
     21 
     22 Using the testcase
     23 ------------------
     24 
     25 Execute
     26 ../waf distclean configure build
     27