Skip to content

Commit

Permalink
don't build cimgui components if we're building for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Jan 10, 2025
1 parent d932f2f commit d7279f5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/DalamudBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ public class DalamudBuild : NukeBuild
Target CompileCImGui => _ => _
.Executes(() =>
{
// Not necessary, and does not build on Linux
if (IsDocsBuild)
return;

MSBuildTasks.MSBuild(s => s
.SetTargetPath(CImGuiProjectFile)
.SetConfiguration(Configuration)
Expand All @@ -80,6 +84,10 @@ public class DalamudBuild : NukeBuild
Target CompileCImPlot => _ => _
.Executes(() =>
{
// Not necessary, and does not build on Linux
if (IsDocsBuild)
return;

MSBuildTasks.MSBuild(s => s
.SetTargetPath(CImPlotProjectFile)
.SetConfiguration(Configuration)
Expand All @@ -89,6 +97,10 @@ public class DalamudBuild : NukeBuild
Target CompileCImGuizmo => _ => _
.Executes(() =>
{
// Not necessary, and does not build on Linux
if (IsDocsBuild)
return;

MSBuildTasks.MSBuild(s => s
.SetTargetPath(CImGuizmoProjectFile)
.SetConfiguration(Configuration)
Expand Down

0 comments on commit d7279f5

Please sign in to comment.