BuildFixes: Hard-code Win64 in Visual Studio detect script
authorMark Young <marky@lunarg.com>
Thu, 7 Jan 2016 19:43:07 +0000 (12:43 -0700)
committerMark Young <marky@lunarg.com>
Mon, 25 Jan 2016 16:47:40 +0000 (09:47 -0700)
We don't officially support Win32 yet, so hard-code Win64 to protect the build.

determine_vs_version.py

index 8857691..09f16d9 100644 (file)
@@ -116,10 +116,12 @@ if __name__ == '__main__':
                # Determine the year associated with that version
                year = determine_year(version)
                
-               # Now deteremine the OS target
-               osTarget = 'Win32'
-               if os.environ.get('PROCESSOR_ARCHITECTURE', '') == 'AMD64':
-                       osTarget = 'Win64'
-               
+               # TODO: Add detect to deteremine the OS target of current system.
+        #       Hard-code to Win64 for now since it's all we officially support.
+               #osTarget = 'Win32'
+               #if os.environ.get('PROCESSOR_ARCHITECTURE', '') == 'AMD64':
+               #       osTarget = 'Win64'
+               osTarget = 'Win64'
+        
                # Output the string we need for Cmake to properly build for this version
                print(str(version) + ' ' + str(year) + ' ' + osTarget)