winemaker: Add includes separately for vcproj files.
This commit is contained in:
parent
7bd49ab2df
commit
bf236d423f
|
@ -959,8 +959,10 @@ sub source_scan_project_file($$$)
|
||||||
if ($vc_compiler_tool->getName eq "AdditionalIncludeDirectories") {
|
if ($vc_compiler_tool->getName eq "AdditionalIncludeDirectories") {
|
||||||
$configt=$vc_compiler_tool->getValue;
|
$configt=$vc_compiler_tool->getValue;
|
||||||
$configt=~s/\\/\//g;
|
$configt=~s/\\/\//g;
|
||||||
$configt=~s/;/ -I/g;
|
my @addincl = split(/\s*;\s*/, $configt);
|
||||||
push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$configt;
|
foreach $configt (@addincl) {
|
||||||
|
push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$configt;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue