| OLD | NEW | 
 | (Empty) | 
|   1 # |  | 
|   2 # __COPYRIGHT__ |  | 
|   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__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" |  | 
|  25  |  | 
|  26 __doc__ = """SCons.Tool.msvs |  | 
|  27  |  | 
|  28 Tool-specific initialization for Microsof Visual Studio files. |  | 
|  29  |  | 
|  30 There normally shouldn't be any need to import this module directly. |  | 
|  31 It will usually be imported through the generic SCons.Tool.Tool() |  | 
|  32 selection method. |  | 
|  33 """ |  | 
|  34  |  | 
|  35 try: |  | 
|  36     import SCons.Node.MSVS as MSVS |  | 
|  37 except ImportError: |  | 
|  38     # Until this gets finished enough to become part of base SCons. |  | 
|  39     import _Node_MSVS as MSVS |  | 
|  40  |  | 
|  41 def generate(env): |  | 
|  42     """ |  | 
|  43     Add Builders and construction variables for MSVS to the |  | 
|  44     construction environment. |  | 
|  45     """ |  | 
|  46     env.AddMethod(MSVS.MSVSFolder) |  | 
|  47     env.AddMethod(MSVS.MSVSProject) |  | 
|  48     env.AddMethod(MSVS.MSVSSolution) |  | 
|  49  |  | 
|  50 def exists(env): |  | 
|  51     return True |  | 
| OLD | NEW |