code: def generate(env):
      
      SCons.Tool.createStaticLibBuilder(env)
  
      # Set-up ms tools paths
      msvc_setup_env_once(env)
  
      env['AR']          = 'lib'
      env['ARFLAGS']     = SCons.Util.CLVar('/nologo')
      env['ARCOM']       = "${TEMPFILE('$AR $ARFLAGS /OUT:$TARGET $SOURCES','$ARCOMSTR')}"
      env['LIBPREFIX']   = ''
      env['LIBSUFFIX']   = '.lib'
docs: Add Builders and construction variables for lib to an Environment.