winemaker: Add includes separately for vcproj files.

This commit is contained in:
André Hentschel 2013-06-12 23:00:30 +02:00 committed by Alexandre Julliard
parent 7bd49ab2df
commit bf236d423f
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}
}
}
}