a0bf50dc8a
Has no real effect, it's what VS 2013 already uses and detailed logging reveals that the build system doesn't even recognize v4 and assumes v12 anyway. Might prevent builds with outdated tools.
75 lines
2.6 KiB
XML
75 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{BD00D65F-24DA-4784-8860-3B972EA125FC}</ProjectGuid>
|
|
<RootNamespace>libresrc</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<!-- Aegisub project configuration -->
|
|
<PropertyGroup Label="AegisubConfiguration">
|
|
<AegisubProjectType>lib</AegisubProjectType>
|
|
<SrcDir>$(MSBuildThisFileDirectory)..\..\src\libresrc\</SrcDir>
|
|
</PropertyGroup>
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
|
|
</ImportGroup>
|
|
|
|
<!-- Project specific configuration -->
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ImportGroup Label="ExtensionTargets">
|
|
<Import Project="$(MSBuildThisFileDirectory)..\respack.targets" />
|
|
</ImportGroup>
|
|
|
|
<Target Name="DefaultConfig" BeforeTargets="ResPackGenerate">
|
|
<Copy
|
|
SourceFiles="$(SrcDir)default_config_win.json"
|
|
DestinationFiles="$(SrcDir)default_config_platform.json"
|
|
SkipUnchangedFiles="true"
|
|
/>
|
|
</Target>
|
|
|
|
<!-- Project References -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\wx\wxWidgets.vcxproj">
|
|
<Project>{0518d6c0-7bf6-4fd1-91fb-191bd10db2ac}</Project>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\luajit-minilua\luajit-minilua.vcxproj">
|
|
<Project>{fcaed410-90ef-4ef9-916c-4b86dc13a3cf}</Project>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\libpng\libpng.vcxproj">
|
|
<Project>{5cabcbef-e79a-4d27-94a5-cf4eaaf1dd96}</Project>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
|
|
<!-- Source files -->
|
|
<ItemGroup>
|
|
<ResPack Include="$(SrcDir)manifest.respack">
|
|
<OutputName>default_config</OutputName>
|
|
<OutputDir>$(SrcDir)</OutputDir>
|
|
</ResPack>
|
|
<ResPack Include="$(SrcDir)..\bitmaps\manifest.respack">
|
|
<OutputName>bitmap</OutputName>
|
|
<OutputDir>$(SrcDir)</OutputDir>
|
|
</ResPack>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ClCompile Include="$(SrcDir)libresrc.cpp" />
|
|
<ClCompile Include="$(SrcDir)bitmap.cpp" />
|
|
<ClCompile Include="$(SrcDir)default_config.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="$(SrcDir)libresrc.h" />
|
|
<ClInclude Include="$(SrcDir)bitmap.h" />
|
|
<ClInclude Include="$(SrcDir)default_config.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="$(SrcDir)manifest.respack" />
|
|
<None Include="$(SrcDir)..\bitmaps\manifest.respack" />
|
|
<None Include="$(SrcDir)..\..\tools\respack.lua" />
|
|
</ItemGroup>
|
|
</Project>
|