39 lines
1.8 KiB
XML
39 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<ProjectGuid>{2F6C6AAD-44DA-4993-BDDB-F6B3F3424916}</ProjectGuid>
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>SpaceFlint.PruneMerge</RootNamespace>
|
|
<AssemblyName>PruneMerge</AssemblyName>
|
|
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
|
<ProjectLanguage>FSharp</ProjectLanguage>
|
|
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
|
|
</PropertyGroup>
|
|
<Import Project="..\Solution.project" />
|
|
<PropertyGroup>
|
|
<!-- keep the following line below the import of Solution.project -->
|
|
<DebugType>None</DebugType>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Cmdline.fs" />
|
|
<Compile Include="Program.fs" />
|
|
<Content Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\JavaBinary\JavaBinary.csproj">
|
|
<Project>{e9ad82d2-f50f-47d0-af81-98fae604d910}</Project>
|
|
<Name>JavaBinary</Name>
|
|
</ProjectReference>
|
|
<Reference Include="FSharp.Core">
|
|
<HintPath>..\packages\FSharp.Core.4.7.2\lib\net45\FSharp.Core.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.IO.Compression" />
|
|
<PackageReference Include="ILMerge" Version="3.0.29" />
|
|
</ItemGroup>
|
|
<!-- use ILMerge to combine everything into PruneMerge.exe in the main output directory -->
|
|
<Import Project="..\packages\ILMerge.3.0.29\build\ILMerge.props" />
|
|
<Target Name="ILMerge" AfterTargets="AfterBuild" Condition="'$(Configuration)' == 'Release'">
|
|
<Exec Command="$(ILMergeConsolePath) /ndebug /out:$(ObjDir)$(AssemblyName).exe $(OutputPath)$(AssemblyName).exe $(OutputPath)JavaBinary.dll $(OutputPath)FSharp.Core.dll" />
|
|
</Target>
|
|
</Project>
|