mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Undoing the commenting out of lines 709 to 712 in makepanda.py (Windows 7 SDK related defines)
This commit is contained in:
parent
40b8521245
commit
7f11bd2d74
@ -707,9 +707,9 @@ def CompileCxx(obj,src,opts):
|
||||
cmd += "/wd4996 /wd4275 /wd4267 /wd4101 /wd4273 "
|
||||
|
||||
# Enables Windows 7 mode if SDK is detected.
|
||||
#platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0", "InstallationFolder")
|
||||
#if platsdk and os.path.isdir(platsdk):
|
||||
# cmd += "/DPANDA_WIN7 /DWINVER=0x601 "
|
||||
platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0", "InstallationFolder")
|
||||
if platsdk and os.path.isdir(platsdk):
|
||||
cmd += "/DPANDA_WIN7 /DWINVER=0x601 "
|
||||
|
||||
cmd += "/Fo" + obj + " /nologo /c"
|
||||
for x in ipath: cmd += " /I" + x
|
||||
|
Loading…
x
Reference in New Issue
Block a user