parameters: (env)
docstring: Add Builders and construction variables for midl to an Environment.
docstring_summary: Add Builders and construction variables for midl to an Environment.
docstring_tokens: Add Builders and construction variables for midl to an Environment .
function: def generate(env):
      """Add Builders and construction variables for midl to an Environment."""
  
      env['MIDL']          = 'MIDL.EXE'
      env['MIDLFLAGS']     = SCons.Util.CLVar('/nologo')
      env['MIDLCOM']       = '$MIDL $MIDLFLAGS /tlb ${TARGETS[0]} /h ${TARGETS[1]} /iid ${TARGETS[2]} /proxy ${TARGETS[3]} /dlldata ${TARGETS[4]} $SOURCE 2> NUL'
      env['BUILDERS']['TypeLibrary'] = midl_builder
function_tokens: def generate ( env ) : env [ 'MIDL' ] = 'MIDL.EXE' env [ 'MIDLFLAGS' ] = SCons . Util . CLVar ( '/nologo' ) env [ 'MIDLCOM' ] = '$MIDL $MIDLFLAGS /tlb ${TARGETS[0]} /h ${TARGETS[1]} /iid ${TARGETS[2]} /proxy ${TARGETS[3]} /dlldata ${TARGETS[4]} $SOURCE 2> NUL' env [ 'BUILDERS' ] [ 'TypeLibrary' ] = midl_builder