Skip to content

Commit 3920d54

Browse files
committed
Make CoreCompile depend directly on _CheckCompileCommands instead of using CoreCompileDependsOn.
1 parent 90606a5 commit 3920d54

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/sdk/build/Vezel.Zig.Sdk.Build.props

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
<!-- SPDX-License-Identifier: 0BSD -->
22

33
<Project>
4-
<PropertyGroup>
5-
<CoreCompileDependsOn>
6-
_CheckCompileCommands
7-
</CoreCompileDependsOn>
8-
</PropertyGroup>
9-
104
<!--
115
Unlike C and C++, Zig just needs a single root source file to perform the
126
compilation. If we add more, the compiler will error out.

src/sdk/build/Vezel.Zig.Sdk.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
This is the target that actually compiles source code to a native binary.
3232
-->
3333
<Target Name="CoreCompile"
34-
DependsOnTargets="$(CoreCompileDependsOn)">
34+
DependsOnTargets="_CheckCompileCommands; $(CoreCompileDependsOn)">
3535
<CallTarget Targets="_PrepareCompileCommands" />
3636

3737
<PropertyGroup>

0 commit comments

Comments
 (0)