A snapshot of the working tree for aelrynth.com/git/: the code, build files and public docs. Internal review notes and agent instructions are left out. MIT licensed; see LICENSE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
59 lines
2.3 KiB
XML
59 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
|
<OutputType>Library</OutputType>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<Nullable>enable</Nullable>
|
|
<PublishAot>true</PublishAot>
|
|
<NativeLib>Shared</NativeLib>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
|
|
<StripSymbols>false</StripSymbols>
|
|
<RootNamespace>RynthCore.Plugin.RynthAi</RootNamespace>
|
|
<AssemblyName>RynthCore.Plugin.RynthAi</AssemblyName>
|
|
<Platforms>x86</Platforms>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="ImGui.NET" Version="1.91.6.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Combat\SpellData.txt" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<TrimmerRootAssembly Include="ImGui.NET" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginCore\RynthCore.PluginCore.csproj" />
|
|
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginSdk\RynthCore.PluginSdk.csproj" />
|
|
<ProjectReference Include="..\..\Shared\RynthCore.LootSdk\RynthCore.LootSdk.csproj" />
|
|
<ProjectReference Include="..\..\Shared\RynthCore.TerrainData\RynthCore.TerrainData.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
Historically this target auto-copied the published plugin DLL into the
|
|
RynthCore engine's bin\Plugins\ folder so a fresh engine build would pick
|
|
up the plugin without manual intervention. That behaviour conflicts with
|
|
the launcher's plugin-discovery model (users opt-in via "Add Plugin DLL"
|
|
in the launcher UI, persisted to %APPDATA%\RynthCore\engine.json).
|
|
Auto-copy removed intentionally — deploy plugin DLLs to their canonical
|
|
home (e.g. C:\Games\RynthSuite\RynthAi\) and add the path in the launcher.
|
|
-->
|
|
|
|
|
|
|
|
<Target Name="RemoveBundledImGuiNativeFromBuild" AfterTargets="Build">
|
|
<Delete Files="$(OutputPath)cimgui.dll" Condition="Exists('$(OutputPath)cimgui.dll')" />
|
|
</Target>
|
|
|
|
<Target Name="RemoveBundledImGuiNativeFromPublish" AfterTargets="Publish" Condition="'$(PublishDir)' != ''">
|
|
<Delete Files="$(PublishDir)cimgui.dll" Condition="Exists('$(PublishDir)cimgui.dll')" />
|
|
</Target>
|
|
|
|
</Project>
|