mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 12:15:37 +00:00
de1fa768c8
* Source/Build.Tasks/Build.Tasks.csproj: * Source/Examples/OpenTK.Examples.csproj: * Source/GLControl/OpenTK.GLControl.csproj: * Source/Compatibility/OpenTK.Compatibility.csproj: Ensure we are using the 2.0 toolset to build. Fixes compilation errors on MonoDevelop/xbuild. * Documentation/Build.Docs.csproj: Use "." instead of "$(MSBuildProjectDirectory)", because MonoDevelop/xbuild fails to replace the latter with its value.
44 lines
2 KiB
XML
44 lines
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="2.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
|
|
<OutputPath>.\Source</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
<OutputPath>.\Source</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<OutputPath>.\Source</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
|
|
<OutputPath>.\Source</OutputPath>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
|
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
|
|
</PropertyGroup>
|
|
<Import Project="..\Source\Build.Tasks\Common.xml" />
|
|
<PropertyGroup>
|
|
<LatexPath>$(OutputPath)\latex</LatexPath>
|
|
<HtmlPath>$(OutputPath)\html</HtmlPath>
|
|
<ProjectGuid>{650C6F3D-33B5-4216-9536-956AB42C0624}</ProjectGuid>
|
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile />
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<None Include="Doxyfile" />
|
|
</ItemGroup>
|
|
<Target Name="Build">
|
|
<Run Command="doxygen" />
|
|
<Run Command="pdflatex -interaction=batchmode refman.tex" WorkingDirectory="$(LatexPath)" />
|
|
<Run Command="makeindex -q refman.idx" WorkingDirectory="$(LatexPath)" />
|
|
<Run Command="pdflatex -interaction=batchmode refman.tex" WorkingDirectory="$(LatexPath)" />
|
|
<Copy SourceFiles="$(LatexPath)\refman.pdf" DestinationFiles="Reference.pdf" />
|
|
</Target>
|
|
<Target Name="Clean">
|
|
<Delete Files="Reference.pdf" />
|
|
<Delete Files="texput.log" />
|
|
<RemoveDir Directories="$(OutputPath)" Condition="'$(OS)' == 'Windows_NT'" />
|
|
<Exec Command="rm -rf $(OutputPath)" Condition="'$(OS)' != 'Windows_NT'" />
|
|
</Target>
|
|
</Project>
|