diff options
author | William Deegan <bill@baddogconsulting.com> | 2010-03-15 01:42:02 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2010-03-15 01:42:02 (GMT) |
commit | 5dafc041488bf63e8871a76a7ccecc1d9e42e6a2 (patch) | |
tree | d9a08af34e6e3fca674422ec7a99005bd1a0c550 /src/engine/SCons/Tool/MSCommon | |
parent | 56b2080609cdeae28153c807a71ba474bdc5acc2 (diff) | |
download | SCons-5dafc041488bf63e8871a76a7ccecc1d9e42e6a2.zip SCons-5dafc041488bf63e8871a76a7ccecc1d9e42e6a2.tar.gz SCons-5dafc041488bf63e8871a76a7ccecc1d9e42e6a2.tar.bz2 |
Add more debug output to Visual Studio/VC/ SDK initialization
Diffstat (limited to 'src/engine/SCons/Tool/MSCommon')
-rw-r--r-- | src/engine/SCons/Tool/MSCommon/sdk.py | 3 | ||||
-rw-r--r-- | src/engine/SCons/Tool/MSCommon/vc.py | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/sdk.py b/src/engine/SCons/Tool/MSCommon/sdk.py index f02a319..ccc8db0 100644 --- a/src/engine/SCons/Tool/MSCommon/sdk.py +++ b/src/engine/SCons/Tool/MSCommon/sdk.py @@ -76,6 +76,7 @@ class SDKDefinition: return None hkey = self.HKEY_FMT % self.hkey_data + debug('find_sdk_dir(): checking registry:%s'%hkey) try: sdk_dir = common.read_reg(hkey) @@ -83,6 +84,8 @@ class SDKDefinition: debug('find_sdk_dir(): no SDK registry key %s' % repr(hkey)) return None + debug('find_sdk_dir(): Trying SDK Dir: %s'%sdk_dir) + if not os.path.exists(sdk_dir): debug('find_sdk_dir(): %s not on file system' % sdk_dir) return None diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index 28e0d1e..892bb80 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -285,6 +285,8 @@ def get_default_version(env): msvc_version = env.get('MSVC_VERSION') msvs_version = env.get('MSVS_VERSION') + + debug('get_default_version(): msvc_version:%s msvs_version:%s'%(msvc_version,msvs_version)) if msvs_version and not msvc_version: SCons.Warnings.warn( |