[2/3] winemaker: Add includes seperately for vcproj files

André Hentschel nerv at dawncrow.de
Wed Jun 12 16:00:30 CDT 2013


this way get_real_include_name() finds the right case of includes
---
 tools/winemaker | 6 ++++--
 1 file 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;
+                        }
                     }
                 }
             }
-- 
1.8.1.2




More information about the wine-patches mailing list