|
|
@@ -884,10 +884,10 @@ def SdkLocateMSPlatform():
|
|
|
# Doesn't work with the Express versions, so we're checking for the "atlmfc" dir, which is not in the Express
|
|
|
if (platsdk == 0 and os.path.isdir(os.path.join(GetProgramFiles(), "Microsoft Visual Studio 9\\VC\\atlmfc"))):
|
|
|
platsdk = os.path.join(GetProgramFiles(), "Microsoft Visual Studio 9\\VC\\PlatformSDK")
|
|
|
- //This may not be the best idea but it does give a warning
|
|
|
+ #This may not be the best idea but it does give a warning
|
|
|
if (platsdk == 0):
|
|
|
if( os.environ.has_key("WindowsSdkDir") ):
|
|
|
- print "Warning: Windows SDK directory not found in registry, found in Environment variables instead"
|
|
|
+ WARNINGS.append("Windows SDK directory not found in registry, found in Environment variables instead")
|
|
|
platsdk = os.environ["WindowsSdkDir"]
|
|
|
if (platsdk != 0):
|
|
|
if (not platsdk.endswith("//")):
|
|
|
@@ -1002,6 +1002,14 @@ def LibDirectory(opt, dir):
|
|
|
LIBDIRECTORIES.append((opt, dir))
|
|
|
|
|
|
def LibName(opt, name):
|
|
|
+ #check to see if the lib file actually exists for the thrid party library given
|
|
|
+ #are we a thrid party library?
|
|
|
+ if name.startswith("thirdparty"):
|
|
|
+ #does this lib exists
|
|
|
+ if not os.path.exists(name):
|
|
|
+ PkgDisable(opt)
|
|
|
+ WARNINGS.append(name + " not found. Skipping Package " + opt)
|
|
|
+ return
|
|
|
LIBNAMES.append((opt, name))
|
|
|
|
|
|
def DefSymbol(opt, sym, val):
|