2013-10-10 23:58:54 +00:00
|
|
|
<?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>
|
2015-08-21 22:22:12 +00:00
|
|
|
<ProductVersion>10.0.0</ProductVersion>
|
2013-10-10 23:58:54 +00:00
|
|
|
<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>
|
2015-05-12 20:11:27 +00:00
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMinimal|AnyCPU' ">
|
|
|
|
<DebugType>none</DebugType>
|
|
|
|
<Optimize>false</Optimize>
|
|
|
|
<OutputPath>opentk\</OutputPath>
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMinimal|AnyCPU' ">
|
|
|
|
<DebugType>none</DebugType>
|
|
|
|
<Optimize>false</Optimize>
|
|
|
|
<OutputPath>opentk\</OutputPath>
|
2013-10-10 23:58:54 +00:00
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Target Name="Build">
|
|
|
|
<!-- Zip the copy of the source tree -->
|
2013-12-15 22:08:53 +00:00
|
|
|
<Exec Command="7z a -tzip opentk.zip ../../* -xr!opentk*.zip -xr!opentk*.exe -xr!.* -xr!obj -xr!bin -xr!lib -xr!Documentation/Source -xr!Automation -xr!*.suo -xr!*.pidb -xr!*.userprefs -xr!*vshost.exe* -xr!*.log -xr!*.nupkg" />
|
2013-10-10 23:58:54 +00:00
|
|
|
<!-- Copy the zip file to the root directory and add a date stamp -->
|
2013-12-15 11:01:26 +00:00
|
|
|
<ReadLinesFromFile File="../../Timestamp.txt">
|
2013-10-10 23:58:54 +00:00
|
|
|
<Output TaskParameter="Lines" ItemName="Version" />
|
|
|
|
</ReadLinesFromFile>
|
2013-12-05 10:42:01 +00:00
|
|
|
<Move SourceFiles=".\opentk.zip" DestinationFiles="@(Version->'..\..\opentk-%(Identity).zip')" />
|
2013-10-10 23:58:54 +00:00
|
|
|
</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>
|