waf

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

README.md (1350B)


      1 #Waf-launcher
      2 This is a simple wrapper for the 
      3 [waf build system](https://waf.io/)
      4 
      5 Since many windows users does not have python installed by default, 
      6 the exe file from this project can be included along with the copy of 
      7 waf to wrap waf to install python on demand.
      8 
      9 The requirements is only .Net 2.0 whics is either Windows Server 2003 R2 
     10 and up, or Windows Vista and up. There is a good chance it is installed 
     11 in many OEM installs of Windows XP as well
     12 
     13 ##How to compile
     14 use either waf or monodevelop (wscript and project files is in the repository)
     15 
     16 ##How to use
     17 
     18 Assume we have a repository, myrepo, where wscript and waf already exists.
     19 
     20     myrepo/waf
     21     myrepo/wscript
     22 
     23 now copy waf-launcher/bin/Release/waf.exe to the repository
     24 
     25     myrepo/waf.exe
     26 
     27 Linux users can continue to use `./waf`, just like
     28 Windows users can continue to use `python waf`
     29 
     30 For Windows users there is now a second way to invoke waf by writing 
     31 either `waf.exe` or simply just `waf`.
     32 
     33 When the Windows users does that the following happens:
     34 
     35 1. It tries "python waf"
     36 2. If 1 failed it tries "C:\python27\python.exe waf"
     37 3. If 2 failed it ask for permission to install python
     38 4. If pemission is given it tries to install python silently
     39 5. step 1 and 2 it done again
     40 6. If this still fails we exit with an error
     41 
     42 Any arguments to `waf.exe` is passed on to `waf`