From d7279f5f216a4f4f362d01027dc4b624b126dab1 Mon Sep 17 00:00:00 2001 From: goat Date: Fri, 10 Jan 2025 19:35:54 +0100 Subject: [PATCH] don't build cimgui components if we're building for docs --- build/DalamudBuild.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/DalamudBuild.cs b/build/DalamudBuild.cs index 6340c36fa..c616dd03e 100644 --- a/build/DalamudBuild.cs +++ b/build/DalamudBuild.cs @@ -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) @@ -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) @@ -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)