XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEEDToolBox

【WinUI】XFE精英危险工具箱

公开
关注 0 Fork 0 Star 0
UTF-8
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net10.0</TargetFramework>
    <Platforms>x64</Platforms>
    <PlatformTarget>x64</PlatformTarget>
    <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
    <IsPackable>false</IsPackable>
    <NativeOutputDirectory>$(MSBuildThisFileDirectory)obj/$(Configuration)/native/</NativeOutputDirectory>
  </PropertyGroup>
  <ItemGroup>
    <NativePlatformSource Include="Boundary.cpp;Invoke.asm;Build.ps1;Platform.csproj;../../third_party/minhook/src/**/*.c;../../third_party/minhook/src/**/*.h;../../third_party/minhook/include/*.h" />
  </ItemGroup>
  <!-- A project dependency, so every NativeAOT consumer shares one build and
       restore/design-time evaluation never depends on a prebuilt archive. -->
  <Target Name="BuildNativePlatform" BeforeTargets="CoreCompile"
          Condition="'$(DesignTimeBuild)' != 'true'"
          Inputs="@(NativePlatformSource)"
          Outputs="$(NativeOutputDirectory)XfePlatform.lib">
    <Exec Command="pwsh -NoProfile -File &quot;$(MSBuildThisFileDirectory)Build.ps1&quot; -Configuration &quot;$(Configuration)&quot; -OutputDirectory &quot;$(NativeOutputDirectory)&quot;" />
    <ItemGroup>
      <FileWrites Include="$(NativeOutputDirectory)**/*" />
    </ItemGroup>
  </Target>
</Project>