bluebonnet/Demos/JavaForm_CS/JavaForm_CS.csproj

34 lines
1.7 KiB
XML
Raw Permalink Normal View History

2020-08-26 11:23:24 +03:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{7345AAB8-D250-4266-AC2D-1D15E8D14FCC}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>SpaceFlint.Demos</RootNamespace>
<AssemblyName>Demo_JavaForm_CS</AssemblyName>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<Import Project="..\..\Solution.project" />
<ItemGroup>
<Reference Include="System" />
<Reference Include="PresentationFramework" />
<Reference Include="$(ObjDir)Javalib.dll" />
<None Include="..\Common\App.config" />
<Compile Include="AssemblyInfo.cs" />
<Compile Include="..\Common\HAL.cs" />
<Compile Include="..\Common\Points.cs" />
<Compile Include="..\Common\JavaForm.cs" />
<Compile Include="Main.cs" />
</ItemGroup>
<PropertyGroup>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<Target Name="ExportToJar" AfterTargets="AfterBuild"
Condition=" '$(_AssemblyTimestampBeforeCompile)' != '$(_AssemblyTimestampAfterCompile)'"
Inputs="$(OutputPath)$(AssemblyName).exe" Outputs="$(OutputPath)$(AssemblyName).jar">
<Delete Files="$(ObjDir)$(AssemblyName).jar" />
<Exec Command="&quot;$(ObjDir)Bluebonnet&quot; &quot;$(OutputPath)$(AssemblyName).exe&quot; &quot;$(OutputPath)$(AssemblyName).jar&quot;" />
</Target>
<Target Name="RunDemo" DependsOnTargets="Build;AfterBuild">
<Exec Command="&quot;$(JAVA_HOME)/bin/java&quot; -Xdiag -Xverify:all -classpath &quot;$(OutputPath)$(AssemblyName).jar;$(ObjDir)baselib.jar&quot; spaceflint.demos.JavaForm_CS"/>
</Target>
</Project>