Skip to content

Commit b41d87b

Browse files
committed
Only output message when file is not excluded from build.
1 parent 4e45234 commit b41d87b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

yasm.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Parser>0</Parser>
1515
<OutputFormat>$(IntDir)%(FileName).obj</OutputFormat>
1616
<CommandLineTemplate>"$(YasmPath)"yasm.exe -Xvc -f win$(PlatformArchitecture) [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>
17-
<ExecutionDescription>Assembling %(Identity)...</ExecutionDescription>
17+
<ExecutionDescription>%(Identity)</ExecutionDescription>
1818
</YASM>
1919
</ItemDefinitionGroup>
2020
</Project>

yasm.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
</YASM_tlog>
4141
</ItemGroup>
4242
<Message
43+
Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true'"
4344
Importance="High"
4445
Text="%(YASM.ExecutionDescription)" />
4546
<WriteLinesToFile
@@ -60,7 +61,7 @@
6061
TreatWarningsAsErrors="%(YASM.TreatWarningsAsErrors)"
6162
CommandLineTemplate="%(YASM.CommandLineTemplate)"
6263
AdditionalOptions="%(YASM.AdditionalOptions)"
63-
/>
64+
/>
6465
</Target>
6566
<Target
6667
Name="ComputeYASMOutput"

0 commit comments

Comments
 (0)