mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 05:40:09 +00:00
[Dexter] Set ShouldBuild=false for Visual Studio solutions (#75045)
Since Dexter no longer intends to build any code, the ShouldBuild property in any Visual Studio project being run by Dexter should be false to ensure that a build step is never invoked by Dexter, whether the project has already been built or not. Reviewed by: OCHyams
This commit is contained in:
parent
fcdb848596
commit
e1c0e7e515
@ -276,6 +276,13 @@ class VisualStudio(
|
|||||||
project.Properties, "ActiveConfiguration"
|
project.Properties, "ActiveConfiguration"
|
||||||
).Object
|
).Object
|
||||||
ActiveConfiguration.DebugSettings.CommandArguments = cmdline_str
|
ActiveConfiguration.DebugSettings.CommandArguments = cmdline_str
|
||||||
|
ConfigurationName = ActiveConfiguration.ConfigurationName
|
||||||
|
SolConfig = self._fetch_property(
|
||||||
|
self._interface.Solution.SolutionBuild.SolutionConfigurations,
|
||||||
|
ConfigurationName,
|
||||||
|
)
|
||||||
|
for Context in SolConfig.SolutionContexts:
|
||||||
|
Context.ShouldBuild = False
|
||||||
|
|
||||||
self.context.logger.note("Launching VS debugger...")
|
self.context.logger.note("Launching VS debugger...")
|
||||||
self._fn_go(False)
|
self._fn_go(False)
|
||||||
|
Loading…
Reference in New Issue
Block a user