=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winemaker: Add includes separately for vcproj files.

Alexandre Julliard julliard at winehq.org
Thu Jun 13 14:31:19 CDT 2013


Module: wine
Branch: master
Commit: bf236d423f915c2a0c981acfde43e3c6168d7de7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bf236d423f915c2a0c981acfde43e3c6168d7de7

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jun 12 23:00:30 2013 +0200

winemaker: Add includes separately for vcproj files.

---

 tools/winemaker |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 3ddd834..611a490 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -959,8 +959,10 @@ sub source_scan_project_file($$$)
                     if ($vc_compiler_tool->getName eq "AdditionalIncludeDirectories") {
                         $configt=$vc_compiler_tool->getValue;
                         $configt=~s/\\/\//g;
-                        $configt=~s/;/ -I/g;
-                        push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$configt;
+                        my @addincl = split(/\s*;\s*/, $configt);
+                        foreach $configt (@addincl) {
+                            push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$configt;
+                        }
                     }
                 }
             }




More information about the wine-cvs mailing list