mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed slashes for paths
This commit is contained in:
parent
bd7a4b392f
commit
421a324666
1 changed files with 8 additions and 0 deletions
|
@ -8709,6 +8709,7 @@ namespace IDE
|
||||||
newString = mLaunchData.mWorkingDir;
|
newString = mLaunchData.mWorkingDir;
|
||||||
else
|
else
|
||||||
newString = options.mDebugOptions.mWorkingDirectory;
|
newString = options.mDebugOptions.mWorkingDirectory;
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
case "TargetDir":
|
case "TargetDir":
|
||||||
{
|
{
|
||||||
if (project.IsDebugSession)
|
if (project.IsDebugSession)
|
||||||
|
@ -8724,6 +8725,7 @@ namespace IDE
|
||||||
DoResolveConfigString(platformName, workspaceOptions, project, options, options.mBuildOptions.mTargetDirectory, error, targetDir);
|
DoResolveConfigString(platformName, workspaceOptions, project, options, options.mBuildOptions.mTargetDirectory, error, targetDir);
|
||||||
newString = scope:ReplaceBlock String();
|
newString = scope:ReplaceBlock String();
|
||||||
Path.GetAbsolutePath(targetDir, project.mProjectDir, newString);
|
Path.GetAbsolutePath(targetDir, project.mProjectDir, newString);
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
}
|
}
|
||||||
case "TargetPath":
|
case "TargetPath":
|
||||||
{
|
{
|
||||||
|
@ -8783,6 +8785,7 @@ namespace IDE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
case "ProjectDir":
|
case "ProjectDir":
|
||||||
if (project.IsDebugSession)
|
if (project.IsDebugSession)
|
||||||
{
|
{
|
||||||
|
@ -8791,9 +8794,11 @@ namespace IDE
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
newString = project.mProjectDir;
|
newString = project.mProjectDir;
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
case "BuildDir":
|
case "BuildDir":
|
||||||
newString = scope:ReplaceBlock String();
|
newString = scope:ReplaceBlock String();
|
||||||
GetProjectBuildDir(project, newString);
|
GetProjectBuildDir(project, newString);
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
//Debug.WriteLine("BuildDir: {0}", newString);
|
//Debug.WriteLine("BuildDir: {0}", newString);
|
||||||
case "LinkFlags":
|
case "LinkFlags":
|
||||||
newString = scope:ReplaceBlock String();
|
newString = scope:ReplaceBlock String();
|
||||||
|
@ -8836,10 +8841,13 @@ namespace IDE
|
||||||
newString = gApp.mSettings.mVSSettings.mBin32Path;
|
newString = gApp.mSettings.mVSSettings.mBin32Path;
|
||||||
else
|
else
|
||||||
newString = gApp.mSettings.mVSSettings.mBin64Path;
|
newString = gApp.mSettings.mVSSettings.mBin64Path;
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
case "VSToolPath_x86":
|
case "VSToolPath_x86":
|
||||||
newString = gApp.mSettings.mVSSettings.mBin32Path;
|
newString = gApp.mSettings.mVSSettings.mBin32Path;
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
case "VSToolPath_x64":
|
case "VSToolPath_x64":
|
||||||
newString = gApp.mSettings.mVSSettings.mBin64Path;
|
newString = gApp.mSettings.mVSSettings.mBin64Path;
|
||||||
|
IDEUtils.FixFilePath(newString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue