<s> """<STR_LIT>""" <EOL> __revision__ = "<STR_LIT>" <EOL> import SCons . Defaults <EOL> import SCons . Tool <EOL> import SCons . Tool . msvs <EOL> import SCons . Tool . msvc <EOL> import SCons . Util <EOL> def generate ( env ) : <EOL> """<STR_LIT>""" <EOL> SCons . Tool . createStaticLibBuilder ( env ) <EOL> try : <EOL> version = SCons . Tool . msvs . get_default_visualstudio_version ( env ) <EOL> if env . has_key ( '<STR_LIT>' ) and env [ '<STR_LIT>' ] : <EOL> include_path , lib_path , exe_path = SCons . Tool . msvc . get_msvc_default_paths ( env , version ) <EOL> else : <EOL> include_path , lib_path , exe_path = SCons . Tool . msvc . get_msvc_paths ( env , version ) <EOL> env . PrependENVPath ( '<STR_LIT>' , exe_path ) <EOL> except ( SCons . Util . RegError , SCons . Errors . InternalError ) : <EOL> pass <EOL> env [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> env [ '<STR_LIT>' ] = SCons . Util . CLVar ( '<STR_LIT>' ) <EOL> env [ '<STR_LIT>' ] = "<STR_LIT>" <EOL> env [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> env [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> def exists ( env ) : <EOL> try : <EOL> v = SCons . Tool . msvs . get_visualstudio_versions ( ) <EOL> except ( SCons . Util . RegError , SCons . Errors . InternalError ) : <EOL> pass <EOL> if not v : <EOL> return env . Detect ( '<STR_LIT>' ) <EOL> else : <EOL> return <NUM_LIT:1> </s>
