summaryrefslogtreecommitdiffstats
path: root/SCons
diff options
context:
space:
mode:
authorJoseph Brill <48932340+jcbrill@users.noreply.github.com>2024-10-13 00:29:57 (GMT)
committerJoseph Brill <48932340+jcbrill@users.noreply.github.com>2024-10-13 00:29:57 (GMT)
commitd536184b92cfc5047cd4781eeb75c636292f453a (patch)
tree1dc2668a98a82258a945ac25749d4003cc09a9cc /SCons
parentdc9673c41f68d2c86e8c2af2e9e55ff39b230d5e (diff)
downloadSCons-d536184b92cfc5047cd4781eeb75c636292f453a.zip
SCons-d536184b92cfc5047cd4781eeb75c636292f453a.tar.gz
SCons-d536184b92cfc5047cd4781eeb75c636292f453a.tar.bz2
Remove MSVSProject argument projectguid and replace with MSVS_PROJECT_GUID in all test files.
Diffstat (limited to 'SCons')
-rw-r--r--SCons/Tool/msvs.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/SCons/Tool/msvs.py b/SCons/Tool/msvs.py
index e26ec11..8835a11 100644
--- a/SCons/Tool/msvs.py
+++ b/SCons/Tool/msvs.py
@@ -128,15 +128,12 @@ def _projectGUID(env, dspfile):
"""Generates a GUID for the project file to use.
In order of preference:
- * MSVSProject projectguid argument
* MSVS_PROJECT_GUID in environment
* Generated from the project file name (dspfile)
Returns (str)
"""
- project_guid = env.get('projectguid')
- if not project_guid:
- project_guid = env.get('MSVS_PROJECT_GUID')
+ project_guid = env.get('MSVS_PROJECT_GUID')
if not project_guid:
project_guid = _generateGUID(dspfile, '')
return project_guid