buildfixin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7034 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8779ab06a8
commit
2542c8da6b
|
@ -25,6 +25,11 @@
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
<Import Project="po.props" />
|
<Import Project="po.props" />
|
||||||
|
@ -39,7 +44,9 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\Binary\$(Platform)\</OutDir>
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\Binary\$(Platform)\</OutDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\Binary\$(Platform)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\Binary\$(Platform)\</OutDir>
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\Binary\$(Platform)\</OutDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -69,6 +76,29 @@
|
||||||
<msgfmt Include="zh_CN.po" />
|
<msgfmt Include="zh_CN.po" />
|
||||||
<msgfmt Include="zh_TW.po" />
|
<msgfmt Include="zh_TW.po" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="da.po" />
|
||||||
|
<None Include="de.po" />
|
||||||
|
<None Include="el.po" />
|
||||||
|
<CustomBuild Include="en.po">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</CustomBuild>
|
||||||
|
<None Include="es.po" />
|
||||||
|
<None Include="fr.po" />
|
||||||
|
<None Include="he.po" />
|
||||||
|
<None Include="hu.po" />
|
||||||
|
<None Include="it.po" />
|
||||||
|
<None Include="ja.po" />
|
||||||
|
<None Include="ko.po" />
|
||||||
|
<None Include="nb.po" />
|
||||||
|
<None Include="nl.po" />
|
||||||
|
<None Include="pl.po" />
|
||||||
|
<None Include="pt_BR.po" />
|
||||||
|
<None Include="ru.po" />
|
||||||
|
<None Include="tr.po" />
|
||||||
|
<None Include="zh_CN.po" />
|
||||||
|
<None Include="zh_TW.po" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
<Import Project="po.targets" />
|
<Import Project="po.targets" />
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup
|
||||||
|
Condition="'$(msgfmtBeforeTargets)' == '' and '$(msgfmtAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
|
||||||
|
<msgfmtBeforeTargets>Midl</msgfmtBeforeTargets>
|
||||||
|
<msgfmtAfterTargets>CustomBuild</msgfmtAfterTargets>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<msgfmtDependsOn
|
||||||
|
Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(msgfmtDependsOn)</msgfmtDependsOn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
<msgfmt>
|
||||||
|
<Verbose>False</Verbose>
|
||||||
|
<OutputName>$(OutDir)Languages\%(Filename)\dolphin-emu.mo</OutputName>
|
||||||
|
<CommandLineTemplate>..\Externals\gettext\msgfmt [AllOptions] [AdditionalOptions] [inputs]</CommandLineTemplate>
|
||||||
|
<Outputs>%(OutputName)</Outputs>
|
||||||
|
<ExecutionDescription>Compiling %(Filename) locale</ExecutionDescription>
|
||||||
|
</msgfmt>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,83 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<PropertyPageSchema
|
||||||
|
Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
|
||||||
|
<AvailableItemName
|
||||||
|
Include="msgfmt">
|
||||||
|
<Targets>_msgfmt</Targets>
|
||||||
|
</AvailableItemName>
|
||||||
|
</ItemGroup>
|
||||||
|
<UsingTask
|
||||||
|
TaskName="msgfmt"
|
||||||
|
TaskFactory="XamlTaskFactory"
|
||||||
|
AssemblyName="Microsoft.Build.Tasks.v4.0">
|
||||||
|
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
|
||||||
|
</UsingTask>
|
||||||
|
<Target
|
||||||
|
Name="_msgfmt"
|
||||||
|
BeforeTargets="$(msgfmtBeforeTargets)"
|
||||||
|
AfterTargets="$(msgfmtAfterTargets)"
|
||||||
|
Condition="'@(msgfmt)' != ''"
|
||||||
|
DependsOnTargets="$(msgfmtDependsOn);ComputemsgfmtOutput"
|
||||||
|
Outputs="@(msgfmt->Metadata('Outputs')->Distinct())"
|
||||||
|
Inputs="@(msgfmt);%(msgfmt.AdditionalDependencies);$(MSBuildProjectFile)">
|
||||||
|
<ItemGroup
|
||||||
|
Condition="'@(SelectedFiles)' != ''">
|
||||||
|
<msgfmt
|
||||||
|
Remove="@(msgfmt)"
|
||||||
|
Condition="'%(Identity)' != '@(SelectedFiles)'" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<msgfmt_tlog
|
||||||
|
Include="%(msgfmt.Outputs)"
|
||||||
|
Condition="'%(msgfmt.Outputs)' != '' and '%(msgfmt.ExcludedFromBuild)' != 'true'">
|
||||||
|
<Source>@(msgfmt, '|')</Source>
|
||||||
|
</msgfmt_tlog>
|
||||||
|
</ItemGroup>
|
||||||
|
<Message
|
||||||
|
Importance="High"
|
||||||
|
Text="%(msgfmt.ExecutionDescription)" />
|
||||||
|
<WriteLinesToFile
|
||||||
|
Condition="'@(msgfmt_tlog)' != '' and '%(msgfmt_tlog.ExcludedFromBuild)' != 'true'"
|
||||||
|
File="$(IntDir)$(ProjectName).write.1.tlog"
|
||||||
|
Lines="^%(msgfmt_tlog.Source);@(msgfmt_tlog->'%(Fullpath)')" />
|
||||||
|
<msgfmt
|
||||||
|
Condition="'@(msgfmt)' != '' and '%(msgfmt.ExcludedFromBuild)' != 'true'"
|
||||||
|
CommandLineTemplate="%(msgfmt.CommandLineTemplate)"
|
||||||
|
Verbose="%(msgfmt.Verbose)"
|
||||||
|
OutputName="%(msgfmt.OutputName)"
|
||||||
|
AdditionalOptions="%(msgfmt.AdditionalOptions)"
|
||||||
|
Inputs="@(msgfmt)" />
|
||||||
|
</Target>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ComputeLinkInputsTargets>
|
||||||
|
$(ComputeLinkInputsTargets);
|
||||||
|
ComputemsgfmtOutput;
|
||||||
|
</ComputeLinkInputsTargets>
|
||||||
|
<ComputeLibInputsTargets>
|
||||||
|
$(ComputeLibInputsTargets);
|
||||||
|
ComputemsgfmtOutput;
|
||||||
|
</ComputeLibInputsTargets>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Target
|
||||||
|
Name="ComputemsgfmtOutput"
|
||||||
|
Condition="'@(msgfmt)' != ''">
|
||||||
|
<ItemGroup>
|
||||||
|
<msgfmtDirsToMake
|
||||||
|
Condition="'@(msgfmt)' != '' and '%(msgfmt.ExcludedFromBuild)' != 'true'"
|
||||||
|
Include="%(msgfmt.Outputs)" />
|
||||||
|
<Link
|
||||||
|
Include="%(msgfmtDirsToMake.Identity)"
|
||||||
|
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
|
||||||
|
<Lib
|
||||||
|
Include="%(msgfmtDirsToMake.Identity)"
|
||||||
|
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
|
||||||
|
<ImpLib
|
||||||
|
Include="%(msgfmtDirsToMake.Identity)"
|
||||||
|
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
|
||||||
|
</ItemGroup>
|
||||||
|
<MakeDir
|
||||||
|
Directories="@(msgfmtDirsToMake->'%(RootDir)%(Directory)')" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
|
@ -0,0 +1,140 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
|
||||||
|
<Rule
|
||||||
|
Name="msgfmt"
|
||||||
|
PageTemplate="tool"
|
||||||
|
DisplayName="Compile Locale"
|
||||||
|
Order="200">
|
||||||
|
<Rule.DataSource>
|
||||||
|
<DataSource
|
||||||
|
Persistence="ProjectFile"
|
||||||
|
ItemType="msgfmt" />
|
||||||
|
</Rule.DataSource>
|
||||||
|
<Rule.Categories>
|
||||||
|
<Category
|
||||||
|
Name="General">
|
||||||
|
<Category.DisplayName>
|
||||||
|
<sys:String>General</sys:String>
|
||||||
|
</Category.DisplayName>
|
||||||
|
</Category>
|
||||||
|
<Category
|
||||||
|
Name="Command Line"
|
||||||
|
Subtype="CommandLine">
|
||||||
|
<Category.DisplayName>
|
||||||
|
<sys:String>Command Line</sys:String>
|
||||||
|
</Category.DisplayName>
|
||||||
|
</Category>
|
||||||
|
</Rule.Categories>
|
||||||
|
<StringListProperty
|
||||||
|
Name="Inputs"
|
||||||
|
Category="Command Line"
|
||||||
|
IsRequired="true"
|
||||||
|
Switch=" ">
|
||||||
|
<StringListProperty.DataSource>
|
||||||
|
<DataSource
|
||||||
|
Persistence="ProjectFile"
|
||||||
|
ItemType="msgfmt"
|
||||||
|
SourceType="Item" />
|
||||||
|
</StringListProperty.DataSource>
|
||||||
|
</StringListProperty>
|
||||||
|
<BoolProperty
|
||||||
|
Name="Verbose"
|
||||||
|
HelpContext="0"
|
||||||
|
DisplayName="Verbose"
|
||||||
|
Description="Increase verbosity level"
|
||||||
|
Switch="-v" />
|
||||||
|
<StringListProperty
|
||||||
|
Name="OutputName"
|
||||||
|
HelpContext="0"
|
||||||
|
DisplayName="Output File"
|
||||||
|
Description="Specifies a name to override the default file name"
|
||||||
|
Separator=";"
|
||||||
|
Switch="-o "[value]"" />
|
||||||
|
<StringProperty
|
||||||
|
Name="CommandLineTemplate"
|
||||||
|
DisplayName="Command Line"
|
||||||
|
Visible="False"
|
||||||
|
IncludeInCommandLine="False" />
|
||||||
|
<DynamicEnumProperty
|
||||||
|
Name="msgfmtBeforeTargets"
|
||||||
|
Category="General"
|
||||||
|
EnumProvider="Targets"
|
||||||
|
IncludeInCommandLine="False">
|
||||||
|
<DynamicEnumProperty.DisplayName>
|
||||||
|
<sys:String>Execute Before</sys:String>
|
||||||
|
</DynamicEnumProperty.DisplayName>
|
||||||
|
<DynamicEnumProperty.Description>
|
||||||
|
<sys:String>Specifies the targets for the build customization to run before.</sys:String>
|
||||||
|
</DynamicEnumProperty.Description>
|
||||||
|
<DynamicEnumProperty.ProviderSettings>
|
||||||
|
<NameValuePair
|
||||||
|
Name="Exclude"
|
||||||
|
Value="^msgfmtBeforeTargets|^Compute" />
|
||||||
|
</DynamicEnumProperty.ProviderSettings>
|
||||||
|
<DynamicEnumProperty.DataSource>
|
||||||
|
<DataSource
|
||||||
|
Persistence="ProjectFile"
|
||||||
|
HasConfigurationCondition="true" />
|
||||||
|
</DynamicEnumProperty.DataSource>
|
||||||
|
</DynamicEnumProperty>
|
||||||
|
<DynamicEnumProperty
|
||||||
|
Name="msgfmtAfterTargets"
|
||||||
|
Category="General"
|
||||||
|
EnumProvider="Targets"
|
||||||
|
IncludeInCommandLine="False">
|
||||||
|
<DynamicEnumProperty.DisplayName>
|
||||||
|
<sys:String>Execute After</sys:String>
|
||||||
|
</DynamicEnumProperty.DisplayName>
|
||||||
|
<DynamicEnumProperty.Description>
|
||||||
|
<sys:String>Specifies the targets for the build customization to run after.</sys:String>
|
||||||
|
</DynamicEnumProperty.Description>
|
||||||
|
<DynamicEnumProperty.ProviderSettings>
|
||||||
|
<NameValuePair
|
||||||
|
Name="Exclude"
|
||||||
|
Value="^msgfmtAfterTargets|^Compute" />
|
||||||
|
</DynamicEnumProperty.ProviderSettings>
|
||||||
|
<DynamicEnumProperty.DataSource>
|
||||||
|
<DataSource
|
||||||
|
Persistence="ProjectFile"
|
||||||
|
ItemType=""
|
||||||
|
HasConfigurationCondition="true" />
|
||||||
|
</DynamicEnumProperty.DataSource>
|
||||||
|
</DynamicEnumProperty>
|
||||||
|
<StringListProperty
|
||||||
|
Name="Outputs"
|
||||||
|
DisplayName="Outputs"
|
||||||
|
Visible="False"
|
||||||
|
IncludeInCommandLine="False" />
|
||||||
|
<StringProperty
|
||||||
|
Name="ExecutionDescription"
|
||||||
|
DisplayName="Execution Description"
|
||||||
|
Visible="False"
|
||||||
|
IncludeInCommandLine="False" />
|
||||||
|
<StringListProperty
|
||||||
|
Name="AdditionalDependencies"
|
||||||
|
DisplayName="Additional Dependencies"
|
||||||
|
IncludeInCommandLine="False"
|
||||||
|
Visible="false" />
|
||||||
|
<StringProperty
|
||||||
|
Subtype="AdditionalOptions"
|
||||||
|
Name="AdditionalOptions"
|
||||||
|
Category="Command Line">
|
||||||
|
<StringProperty.DisplayName>
|
||||||
|
<sys:String>Additional Options</sys:String>
|
||||||
|
</StringProperty.DisplayName>
|
||||||
|
<StringProperty.Description>
|
||||||
|
<sys:String>Additional Options</sys:String>
|
||||||
|
</StringProperty.Description>
|
||||||
|
</StringProperty>
|
||||||
|
</Rule>
|
||||||
|
<ItemType
|
||||||
|
Name="msgfmt"
|
||||||
|
DisplayName="Compile Locale" />
|
||||||
|
<FileExtension
|
||||||
|
Name="*.po"
|
||||||
|
ContentType="msgfmt" />
|
||||||
|
<ContentType
|
||||||
|
Name="msgfmt"
|
||||||
|
DisplayName="Compile Locale"
|
||||||
|
ItemType="msgfmt" />
|
||||||
|
</ProjectSchemaDefinitions>
|
|
@ -490,10 +490,12 @@ Global
|
||||||
{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|Win32.Build.0 = Release|Win32
|
{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|Win32.Build.0 = Release|Win32
|
||||||
{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|x64.ActiveCfg = Release|x64
|
{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|x64.ActiveCfg = Release|x64
|
||||||
{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|x64.Build.0 = Release|x64
|
{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|x64.Build.0 = Release|x64
|
||||||
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|Win32.ActiveCfg = Release|x64
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|Win32.ActiveCfg = Release|Win32
|
||||||
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|Win32.Build.0 = Release|Win32
|
||||||
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|x64.ActiveCfg = Release|x64
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|x64.ActiveCfg = Release|x64
|
||||||
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|x64.Build.0 = Release|x64
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|x64.Build.0 = Release|x64
|
||||||
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|Win32.ActiveCfg = Release|x64
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|Win32.ActiveCfg = Release|Win32
|
||||||
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|Win32.Build.0 = Release|Win32
|
||||||
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|x64.ActiveCfg = Release|x64
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|x64.ActiveCfg = Release|x64
|
||||||
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|x64.Build.0 = Release|x64
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|x64.Build.0 = Release|x64
|
||||||
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Release|Win32.ActiveCfg = Release|Win32
|
{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
|
Loading…
Reference in New Issue