Skip to content

Commit

Permalink
Add support for VcxprojUserFile.LocalDebuggerAttach (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
firesgc committed Jan 20, 2022
1 parent ac831ef commit b061d7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public abstract partial class BasePlatform
<LocalDebuggerCommandArguments>[conf.VcxprojUserFile.LocalDebuggerCommandArguments]</LocalDebuggerCommandArguments>
<LocalDebuggerEnvironment>[conf.VcxprojUserFile.LocalDebuggerEnvironment]</LocalDebuggerEnvironment>
<LocalDebuggerWorkingDirectory>[conf.VcxprojUserFile.LocalDebuggerWorkingDirectory]</LocalDebuggerWorkingDirectory>
<LocalDebuggerAttach>[conf.VcxprojUserFile.LocalDebuggerAttachString]</LocalDebuggerAttach>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public sealed partial class LinuxPlatform
@" <LocalDebuggerCommand>[conf.VcxprojUserFile.LocalDebuggerCommand]</LocalDebuggerCommand>
<LocalDebuggerCommandArguments>[conf.VcxprojUserFile.LocalDebuggerCommandArguments]</LocalDebuggerCommandArguments>
<LocalDebuggerWorkingDirectory>[conf.VcxprojUserFile.LocalDebuggerWorkingDirectory]</LocalDebuggerWorkingDirectory>
<LocalDebuggerAttach>[conf.VcxprojUserFile.LocalDebuggerAttachString]</LocalDebuggerAttach>
<RemoteDebuggerCommand>[conf.VcxprojUserFile.RemoteDebuggerCommand]</RemoteDebuggerCommand>
<RemoteDebuggerCommandArguments>[conf.VcxprojUserFile.RemoteDebuggerCommandArguments]</RemoteDebuggerCommandArguments>
<RemoteDebuggingMode>[conf.VcxprojUserFile.RemoteDebuggingMode]</RemoteDebuggingMode>
Expand Down
4 changes: 3 additions & 1 deletion Sharpmake/Project.Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2836,11 +2836,13 @@ public class VcxprojUserFileSettings
public string LocalDebuggerCommandArguments = RemoveLineTag;
public string LocalDebuggerEnvironment = RemoveLineTag;
public string LocalDebuggerWorkingDirectory = RemoveLineTag;
public bool LocalDebuggerAttach = false;
public string RemoteDebuggerCommand = RemoveLineTag;
public string RemoteDebuggerCommandArguments = RemoveLineTag;
public string RemoteDebuggingMode = RemoveLineTag;
public string RemoteDebuggerWorkingDirectory = RemoveLineTag;
public bool OverwriteExistingFile = true;
public bool OverwriteExistingFile = true;
public string LocalDebuggerAttachString => LocalDebuggerAttach ? "true" : RemoveLineTag;
}

public VcxprojUserFileSettings VcxprojUserFile = null;
Expand Down

0 comments on commit b061d7e

Please sign in to comment.