mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:25:28 +00:00
70 lines
3 KiB
XML
70 lines
3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
|
|
<OutputPath>.\opentk\</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
<OutputPath>.\opentk\</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<OutputPath>.\opentk\</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
|
|
<OutputPath>.\opentk\</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7B}</ProjectGuid>
|
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
|
<OutputPath>.\opentk\</OutputPath>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>10.0.0</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<OutputType>Exe</OutputType>
|
|
<AssemblyName>Build.Installer.Zip</AssemblyName>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Documentation|AnyCPU' ">
|
|
<DebugType>none</DebugType>
|
|
<Optimize>False</Optimize>
|
|
<OutputPath>opentk\</OutputPath>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugType>none</DebugType>
|
|
<Optimize>False</Optimize>
|
|
<OutputPath>opentk\</OutputPath>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>none</DebugType>
|
|
<Optimize>False</Optimize>
|
|
<OutputPath>opentk\</OutputPath>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Nsis|AnyCPU' ">
|
|
<DebugType>none</DebugType>
|
|
<Optimize>False</Optimize>
|
|
<OutputPath>opentk\</OutputPath>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<Target Name="Build">
|
|
<!-- Zip the copy of the source tree -->
|
|
<Exec Command="7z a -tzip opentk.zip ../../* -xr!opentk*.zip -xr!opentk*.exe -xr!.* -xr!obj -xr!bin -xr!Documentation/Source -xr!Automation -xr!*.suo -xr!*.pidb -xr!*.userprefs -xr!*vshost.exe* -xr!*.log" />
|
|
<!-- Copy the zip file to the root directory and add a date stamp -->
|
|
<ReadLinesFromFile File="../../Timestamp.txt">
|
|
<Output TaskParameter="Lines" ItemName="Version" />
|
|
</ReadLinesFromFile>
|
|
<Move SourceFiles=".\opentk.zip" DestinationFiles="@(Version->'..\..\opentk-%(Identity).zip')" />
|
|
</Target>
|
|
<Target Name="Clean">
|
|
<CreateItem Include=".\opentk.zip;..\..\opentk-*.zip">
|
|
<Output TaskParameter="Include" ItemName="FilesToDelete" />
|
|
</CreateItem>
|
|
<Delete Files="@(FilesToDelete)" />
|
|
</Target>
|
|
<Target Name="Rebuild">
|
|
<CallTarget Targets="Clean" />
|
|
<CallTarget Targets="Build" />
|
|
</Target>
|
|
</Project>
|