Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 701 Bytes

summary.md

File metadata and controls

32 lines (28 loc) · 701 Bytes

Add a new summary() function

A new function summary() has been added to summarize build configuration at the end of the build process.

Example:

sec1 = {'driver' : 'foobar', 'OS' : 'Linux', 'API' : '1.7'}
sec2 = {'driver' : 'dive comp', 'OS' : 'Minix', 'API' : '1.1.2'}
sec3 = {'with' : {'mesa' : true, 'gbm' : false}}

summary('Backend', 'OpenGL')
summary('Server', sec1)
summary('Client', sec2)
summary('Misc', sec3)

Output:

Main Project:
  Backend = OpenGL
  Server
    driver = 'foobar'
    OS = 'Linux'
    API = '1.7'
  Client
    driver = 'dive comp'
    OS = 'Minix'
    API = '1.1.2'
  Misc
    with = {'mesa' : True, 'gbm' : False}