Fixing a build break in Helios
Removing Common.Native.targets - to avoid increasing build complexity repo with native projects will have their own target that generates version.h file
This commit is contained in:
parent
6558f1c281
commit
f3207ed440
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Target Name="CreateVersionHeader" BeforeTargets="Build">
|
||||
<PropertyGroup>
|
||||
<ProductVersion Condition="'$(ProductVersion)' == ''">0.0.0</ProductVersion>
|
||||
<FileRevision Condition="'$(FileRevision)' == ''">0</FileRevision>
|
||||
<FullFileVersion>$(ProductVersion).$(FileRevision)</FullFileVersion>
|
||||
<BuildVersionSuffix Condition="'$(BuildVersion)' != ''">-$(BuildVersion)</BuildVersionSuffix>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<VersionHeaderContents Include="// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved." />
|
||||
<VersionHeaderContents Include="// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information." />
|
||||
<VersionHeaderContents Include="%0a" />
|
||||
<VersionHeaderContents Include="// This file is auto-generated" />
|
||||
<VersionHeaderContents Include="%0a" />
|
||||
<VersionHeaderContents Include="#define FileVersion $(FullFileVersion.Replace('.', ','))" />
|
||||
<VersionHeaderContents Include="#define FileVersionStr "$(FullFileVersion)\0"" />
|
||||
<VersionHeaderContents Include="#define ProductVersion $(ProductVersion.Replace('.', ',')),0" />
|
||||
<VersionHeaderContents Include="#define ProductVersionStr "$(ProductVersion)$(BuildVersionSuffix)\0"" />
|
||||
</ItemGroup>
|
||||
<WriteLinesToFile File="version.h" Lines="@(VersionHeaderContents)" OverWrite="true" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
@ -112,8 +112,8 @@ default Configuration='${E("Configuration")}'
|
|||
|
||||
foreach (var project in nativeProjects)
|
||||
{
|
||||
Exec(msbuildPath, project + " /p:Configuration=Platform=Win32" + commonParameters);
|
||||
Exec(msbuildPath, project + " /p:Configuration=Platform=x64" + commonParameters);
|
||||
Exec(msbuildPath, project + " /p:Platform=Win32" + commonParameters);
|
||||
Exec(msbuildPath, project + " /p:Platform=x64" + commonParameters);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue