From e0d4e60aadc8b21e10acd83d3ca0911d21afc07a Mon Sep 17 00:00:00 2001 From: goat Date: Mon, 6 Mar 2023 20:31:37 +0100 Subject: [PATCH] chore: add custom targets file for plugin defaults --- Dalamud.sln | 2 + Dalamud/Dalamud.csproj | 5 +++ targets/Dalamud.Plugin.Bootstrap.targets | 12 ++++++ targets/Dalamud.Plugin.targets | 50 ++++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 targets/Dalamud.Plugin.Bootstrap.targets create mode 100644 targets/Dalamud.Plugin.targets diff --git a/Dalamud.sln b/Dalamud.sln index b3817d45e..443f38496 100644 --- a/Dalamud.sln +++ b/Dalamud.sln @@ -6,6 +6,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig .gitignore = .gitignore + targets\Dalamud.Plugin.targets = targets\Dalamud.Plugin.targets + targets\Dalamud.Plugin.Bootstrap.targets = targets\Dalamud.Plugin.Bootstrap.targets EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "build", "build\build.csproj", "{94E5B016-02B1-459B-97D9-E783F28764B2}" diff --git a/Dalamud/Dalamud.csproj b/Dalamud/Dalamud.csproj index 05e9acd6e..fa8066063 100644 --- a/Dalamud/Dalamud.csproj +++ b/Dalamud/Dalamud.csproj @@ -178,4 +178,9 @@ + + + + + diff --git a/targets/Dalamud.Plugin.Bootstrap.targets b/targets/Dalamud.Plugin.Bootstrap.targets new file mode 100644 index 000000000..16f78517c --- /dev/null +++ b/targets/Dalamud.Plugin.Bootstrap.targets @@ -0,0 +1,12 @@ + + + + $(appdata)\XIVLauncher\addon\Hooks\dev\ + + + + $(DALAMUD_HOME)/ + + + + diff --git a/targets/Dalamud.Plugin.targets b/targets/Dalamud.Plugin.targets new file mode 100644 index 000000000..3fc165454 --- /dev/null +++ b/targets/Dalamud.Plugin.targets @@ -0,0 +1,50 @@ + + + + net7.0-windows + x64 + enable + latest + true + false + false + true + true + + + + + + $(DalamudLibPath)FFXIVClientStructs.dll + false + + + $(DalamudLibPath)Newtonsoft.Json.dll + false + + + $(DalamudLibPath)Dalamud.dll + false + + + $(DalamudLibPath)ImGui.NET.dll + false + + + $(DalamudLibPath)ImGuiScene.dll + false + + + $(DalamudLibPath)Lumina.dll + false + + + $(DalamudLibPath)Lumina.Excel.dll + false + + + + + + +