[geany/geany] 9edd4f: For now disable detecion of MSVC on Windows

Enrico Troeger git-noreply at xxxxx
Wed Apr 24 20:05:56 UTC 2013


Branch:      refs/heads/master
Author:      Enrico Troeger <enrico.troeger at uvena.de>
Committer:   Enrico Troeger <enrico.troeger at uvena.de>
Date:        Wed, 24 Apr 2013 20:05:56 UTC
Commit:      9edd4f4a907a213347003c525629c4476df733c2
             https://github.com/geany/geany/commit/9edd4f4a907a213347003c525629c4476df733c2

Log Message:
-----------
For now disable detecion of MSVC on Windows


Modified Paths:
--------------
    wscript

Modified: wscript
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -46,6 +46,7 @@ from waflib import Logs, Options, Scripting, Utils
 from waflib.Configure import ConfigurationContext
 from waflib.Errors import WafError
 from waflib.TaskGen import feature, before_method
+from waflib.Tools.compiler_c import c_compiler
 
 
 APPNAME = 'geany'
@@ -302,6 +303,10 @@ def configure(conf):
 
 
 def options(opt):
+    # Disable MSVC detetion on win32: building Geany with MSVC is currently not supported
+    # If anyone wants to add support for building with MSVC, this hack should be removed.
+    c_compiler['win32'] = ['gcc']
+
     opt.load('compiler_cc')
     opt.load('compiler_cxx')
     opt.load('intltool')



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list