79 lines
3.6 KiB
XML
79 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<ProjectGuid>{4E5B38F7-4E99-4C92-BB39-9100CC7F3829}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>OpenRA.Mods.Example</RootNamespace>
|
|
<AssemblyName>OpenRA.Mods.Example</AssemblyName>
|
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="Eluant">
|
|
<HintPath>..\engine\thirdparty\download\Eluant.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Widgets\Logic\TemplateMenuLogic.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Widgets\" />
|
|
<Folder Include="Widgets\Logic\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\engine\OpenRA.Mods.Common\OpenRA.Mods.Common.csproj">
|
|
<Project>{FE6C8CC0-2F07-442A-B29F-17617B3B7FC6}</Project>
|
|
<Name>OpenRA.Mods.Common</Name>
|
|
<Private>False</Private>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\engine\OpenRA.Game\OpenRA.Game.csproj">
|
|
<Project>{0DFB103F-2962-400F-8C6D-E2C28CCBA633}</Project>
|
|
<Name>OpenRA.Game</Name>
|
|
<Private>False</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<Target Name="AfterBuild">
|
|
<MakeDir Directories="$(SolutionDir)mods/example/" />
|
|
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(SolutionDir)mods/example/" />
|
|
<!--
|
|
We need to copy OpenRA.Mods.Cnc.pdb (not `.dll.pdb`). This is only necessary on Windows.
|
|
Mono outputs a `.dll.mdb` so we can just append `.mdb` directly.
|
|
-->
|
|
<Copy SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFolder="$(SolutionDir)mods/example/" Condition="'$(OS)' == 'Windows_NT'" />
|
|
<Copy SourceFiles="$(TargetPath).mdb" DestinationFolder="$(SolutionDir)mods/example/" Condition="'$(OS)' == 'Unix'" />
|
|
<!-- Uncomment these lines when debugging or adding to this target
|
|
<Message Text="DEBUG OS: $(OS)"/>
|
|
<Message Text="DEBUG SolutionDir: $(SolutionDir)"/>
|
|
<Message Text="DEBUG TargetPath: $(TargetPath)"/>
|
|
<Message Text="DEBUG TargetDir: $(TargetDir)"/>
|
|
<Message Text="DEBUG TargetName: $(TargetName)"/>
|
|
-->
|
|
</Target>
|
|
</Project> |