mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 06:18:18 +02:00
IDE: always use unix path delim in Makefile
git-svn-id: trunk@29420 -
This commit is contained in:
parent
f9f4eec6ea
commit
1548343453
@ -3830,12 +3830,13 @@ begin
|
|||||||
XMLConfig.SetValue('Makefile/Value',True);
|
XMLConfig.SetValue('Makefile/Value',True);
|
||||||
s:=OtherOptions;
|
s:=OtherOptions;
|
||||||
if UnitPath<>'' then
|
if UnitPath<>'' then
|
||||||
s:=s+' -Fu'+UnitPath;
|
s:=s+' -Fu'+SwitchPathDelims(UnitPath,pdsUnix);
|
||||||
if IncPath<>'' then
|
if IncPath<>'' then
|
||||||
s:=s+' -Fi'+IncPath;
|
s:=s+' -Fi'+SwitchPathDelims(IncPath,pdsUnix);
|
||||||
if CustomOptions<>'' then
|
if CustomOptions<>'' then
|
||||||
s:=s+' '+CustomOptions;
|
s:=s+' '+CustomOptions;
|
||||||
s:=s+' '+CreateRelativePath(APackage.GetSrcFilename,APackage.Directory);
|
s:=s+' '+SwitchPathDelims(CreateRelativePath(APackage.GetSrcFilename,APackage.Directory),pdsUnix);
|
||||||
|
|
||||||
//debugln(['TLazPackageGraph.WriteMakeFile IncPath="',IncPath,'" UnitPath="',UnitPath,'" Custom="',CustomOptions,'" Out="',UnitOutputPath,'"']);
|
//debugln(['TLazPackageGraph.WriteMakeFile IncPath="',IncPath,'" UnitPath="',UnitPath,'" Custom="',CustomOptions,'" Out="',UnitOutputPath,'"']);
|
||||||
XMLConfig.SetValue('Params/Value',s);
|
XMLConfig.SetValue('Params/Value',s);
|
||||||
if XMLConfig.Modified then begin
|
if XMLConfig.Modified then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user