parameters: (target, source, env)
return_statement: return 0
docstring: Function run by embedManifestExeCheckAction to check for existence of manifest
      and other conditions, and embed the manifest by calling embedManifestExeAction if so.
docstring_summary: Function run by embedManifestExeCheckAction to check for existence of manifest
      and other conditions, and embed the manifest by calling embedManifestExeAction if so.
docstring_tokens: Function run by embedManifestExeCheckAction to check for existence of manifest and other conditions and embed the manifest by calling embedManifestExeAction if so .
function: def embedManifestExeCheck(target, source, env):
      """Function run by embedManifestExeCheckAction to check for existence of manifest
      and other conditions, and embed the manifest by calling embedManifestExeAction if so."""
      if env.get('WINDOWS_EMBED_MANIFEST', 0):
          manifestSrc = target[0].get_abspath() + '.manifest'
          if os.path.exists(manifestSrc):
              ret = (embedManifestExeAction) ([target[0]],None,env)
              if ret:
                  raise SCons.Errors.UserError, "Unable to embed manifest into %s" % (target[0])
              return ret
          else:
              print '(embed: no %s.manifest found; not embedding.)'%str(target[0])
      return 0
function_tokens: def embedManifestExeCheck ( target , source , env ) : if env . get ( 'WINDOWS_EMBED_MANIFEST' , 0 ) : manifestSrc = target [ 0 ] . get_abspath ( ) + '.manifest' if os . path . exists ( manifestSrc ) : ret = ( embedManifestExeAction ) ( [ target [ 0 ] ] , None , env ) if ret : raise SCons . Errors . UserError , "Unable to embed manifest into %s" % ( target [ 0 ] ) return ret else : print '(embed: no %s.manifest found; not embedding.)' % str ( target [ 0 ] ) return 0