[geany/geany-plugins] 9473aa: For now disable detecion of MSVC on Windows

Enrico Troeger git-noreply at xxxxx
Wed Apr 24 20:06:53 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:06:53 UTC
Commit:      9473aaf8f692caae3b6ddd210d732a0ee048d212
             https://github.com/geany/geany-plugins/commit/9473aaf8f692caae3b6ddd210d732a0ee048d212

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


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

Modified: wscript
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -44,6 +44,7 @@ from waflib import Logs, Scripting, Utils
 from waflib.Tools import c_preproc
 from waflib.Errors import ConfigurationError
 from waflib.TaskGen import feature
+from waflib.Tools.compiler_c import c_compiler
 from build.wafutils import (
     add_define_to_env,
     add_to_env_and_define,
@@ -190,6 +191,10 @@ def setup_configuration_env(conf):
 
 
 def options(opt):
+    # Disable MSVC detetion on win32: building Geany-Plugins 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.tool_options('compiler_cc')
     opt.tool_options('intltool')
 



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


More information about the Plugins-Commits mailing list