Package wafadmin :: Package Tools :: Module config_c :: Class common_include_configurator
[hide private]
[frames] | no frames]

Class common_include_configurator

source code

     object --+        
              |        
enumerator_base --+    
                  |    
  header_enumerator --+
                      |
                     common_include_configurator

Looks for a given header. If found, it will be written later by write_config_header()

Forced include files are headers that are being used by all source files. One can include files this way using gcc '-include file.h' or msvc '/fi file.h'. The alternative suggested here (common includes) is: Make all files include 'config.h', then add these forced-included headers to config.h (good for compilers that don't have have this feature and for further flexibility).

Nested Classes [hide private]
  __metaclass__
no decorators for classes, so we use a metaclass map 'conf.create_classname()' to 'classname()'
Instance Methods [hide private]
 
run_test(self) source code

Inherited from header_enumerator: __init__, error, validate

Inherited from enumerator_base: hash, run, update_env

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

run_test(self)

source code 
Overrides: enumerator_base.run_test