~plane1/maus/devel_624

« back to all changes in this revision

Viewing changes to third_party/scons-2.0.1/lib/scons-2.0.1/SCons/Tool/MSCommon/__init__.py

  • Committer: tunnell
  • Date: 2010-09-30 13:56:05 UTC
  • Revision ID: tunnell@itchy-20100930135605-wxbkfgy75p0sndk3
add third party

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
 
3
#
 
4
# Permission is hereby granted, free of charge, to any person obtaining
 
5
# a copy of this software and associated documentation files (the
 
6
# "Software"), to deal in the Software without restriction, including
 
7
# without limitation the rights to use, copy, modify, merge, publish,
 
8
# distribute, sublicense, and/or sell copies of the Software, and to
 
9
# permit persons to whom the Software is furnished to do so, subject to
 
10
# the following conditions:
 
11
#
 
12
# The above copyright notice and this permission notice shall be included
 
13
# in all copies or substantial portions of the Software.
 
14
#
 
15
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
 
16
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 
17
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
18
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 
19
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 
20
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 
21
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
22
#
 
23
 
 
24
__revision__ = "src/engine/SCons/Tool/MSCommon/__init__.py 5134 2010/08/16 23:02:40 bdeegan"
 
25
 
 
26
__doc__ = """
 
27
Common functions for Microsoft Visual Studio and Visual C/C++.
 
28
"""
 
29
 
 
30
import copy
 
31
import os
 
32
import re
 
33
import subprocess
 
34
 
 
35
import SCons.Errors
 
36
import SCons.Platform.win32
 
37
import SCons.Util
 
38
 
 
39
from SCons.Tool.MSCommon.sdk import mssdk_exists, \
 
40
                                    mssdk_setup_env
 
41
 
 
42
from SCons.Tool.MSCommon.vc import msvc_exists, \
 
43
                                   msvc_setup_env, \
 
44
                                   msvc_setup_env_once
 
45
 
 
46
from SCons.Tool.MSCommon.vs import get_default_version, \
 
47
                                   get_vs_by_version, \
 
48
                                   merge_default_version, \
 
49
                                   msvs_exists, \
 
50
                                   query_versions
 
51
 
 
52
# Local Variables:
 
53
# tab-width:4
 
54
# indent-tabs-mode:nil
 
55
# End:
 
56
# vim: set expandtab tabstop=4 shiftwidth=4: