From 0d606d96bff93faad0d5df7a4dc18749838e6888 Mon Sep 17 00:00:00 2001 From: Marc Demers Date: Tue, 23 Jul 2024 10:32:32 -0400 Subject: [PATCH] Added support for PreLaunchCommand in Linux Vcxproj user file --- .../Linux/LinuxPlatform.Vcxproj.Template.cs | 1 + Sharpmake/Project.Configuration.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Sharpmake.Platforms/Sharpmake.CommonPlatforms/Linux/LinuxPlatform.Vcxproj.Template.cs b/Sharpmake.Platforms/Sharpmake.CommonPlatforms/Linux/LinuxPlatform.Vcxproj.Template.cs index 6d0f3c157..8116a7870 100644 --- a/Sharpmake.Platforms/Sharpmake.CommonPlatforms/Linux/LinuxPlatform.Vcxproj.Template.cs +++ b/Sharpmake.Platforms/Sharpmake.CommonPlatforms/Linux/LinuxPlatform.Vcxproj.Template.cs @@ -79,6 +79,7 @@ public sealed partial class LinuxPlatform [conf.VcxprojUserFile.LocalDebuggerCommandArguments] [conf.VcxprojUserFile.LocalDebuggerWorkingDirectory] [conf.VcxprojUserFile.LocalDebuggerAttachString] + [conf.VcxprojUserFile.PreLaunchCommand] [conf.VcxprojUserFile.RemoteDebuggerCommand] [conf.VcxprojUserFile.RemoteDebuggerCommandArguments] [conf.VcxprojUserFile.RemoteDebuggingMode] diff --git a/Sharpmake/Project.Configuration.cs b/Sharpmake/Project.Configuration.cs index ed9fe60e2..8b8c570cb 100644 --- a/Sharpmake/Project.Configuration.cs +++ b/Sharpmake/Project.Configuration.cs @@ -3303,6 +3303,7 @@ public class VcxprojUserFileSettings public string LocalDebuggerEnvironment = RemoveLineTag; public string LocalDebuggerWorkingDirectory = RemoveLineTag; public bool LocalDebuggerAttach = false; + public string PreLaunchCommand = RemoveLineTag; public string RemoteDebuggerCommand = RemoveLineTag; public string RemoteDebuggerCommandArguments = RemoveLineTag; public string RemoteDebuggingMode = RemoveLineTag;