2011-01-11 21:25:47 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<ProjectGuid>{BD00D65F-24DA-4784-8860-3B972EA125FC}</ProjectGuid>
|
|
|
|
<RootNamespace>libresrc</RootNamespace>
|
2012-11-01 15:10:06 +01:00
|
|
|
</PropertyGroup>
|
2012-11-02 00:07:14 +01:00
|
|
|
|
2011-01-14 04:47:57 +01:00
|
|
|
<!-- Aegisub project configuration -->
|
|
|
|
<PropertyGroup Label="AegisubConfiguration">
|
|
|
|
<AegisubProjectType>lib</AegisubProjectType>
|
2012-11-01 15:55:58 +01:00
|
|
|
<SrcDir>..\..\src\libresrc\</SrcDir>
|
2011-01-11 21:25:47 +01:00
|
|
|
</PropertyGroup>
|
|
|
|
<ImportGroup Label="PropertySheets">
|
2011-01-14 04:47:57 +01:00
|
|
|
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
|
2011-01-11 21:25:47 +01:00
|
|
|
</ImportGroup>
|
2012-11-02 00:07:14 +01:00
|
|
|
|
2011-01-14 04:47:57 +01:00
|
|
|
<!-- Project specific configuration -->
|
2011-01-11 21:25:47 +01:00
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
|
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ClCompile>
|
2012-11-01 15:10:06 +01:00
|
|
|
<ResPack>
|
2012-11-01 15:55:58 +01:00
|
|
|
<OutputDir>$(MSBuildThisFileDirectory)..\..\src\libresrc\</OutputDir>
|
2012-11-01 15:10:06 +01:00
|
|
|
</ResPack>
|
2011-01-11 21:25:47 +01:00
|
|
|
</ItemDefinitionGroup>
|
2011-01-14 04:47:57 +01:00
|
|
|
<ImportGroup Label="ExtensionTargets">
|
2012-11-01 15:10:06 +01:00
|
|
|
<Import Project="$(MSBuildThisFileDirectory)..\respack\Aegisub.ResPack.targets" />
|
2011-01-14 04:47:57 +01:00
|
|
|
</ImportGroup>
|
2012-11-17 16:57:52 +01:00
|
|
|
|
2012-11-18 16:12:04 +01:00
|
|
|
<Target Name="DefaultConfig" BeforeTargets="ResPackGenerate">
|
2012-11-17 16:57:52 +01:00
|
|
|
<Copy
|
|
|
|
SourceFiles="$(SrcDir)default_config_win.json"
|
|
|
|
DestinationFiles="$(SrcDir)default_config_platform.json"
|
|
|
|
SkipUnchangedFiles="true"
|
|
|
|
/>
|
|
|
|
</Target>
|
|
|
|
|
2011-01-14 04:47:57 +01:00
|
|
|
<!-- Source files -->
|
2011-01-11 21:25:47 +01:00
|
|
|
<ItemGroup>
|
2012-11-01 15:55:58 +01:00
|
|
|
<ResPack Include="..\..\src\libresrc\manifest.respack">
|
2012-11-01 15:10:06 +01:00
|
|
|
<OutputName>default_config.cpp</OutputName>
|
|
|
|
<OutputHeader>default_config.h</OutputHeader>
|
|
|
|
</ResPack>
|
2012-11-01 15:55:58 +01:00
|
|
|
<ResPack Include="..\..\src\bitmaps\manifest.respack">
|
2012-11-01 15:10:06 +01:00
|
|
|
<OutputName>bitmap.cpp</OutputName>
|
|
|
|
<OutputHeader>bitmap.h</OutputHeader>
|
|
|
|
</ResPack>
|
2011-01-11 21:25:47 +01:00
|
|
|
</ItemGroup>
|
2012-11-17 16:57:52 +01:00
|
|
|
|
2011-01-11 21:25:47 +01:00
|
|
|
<ItemGroup>
|
|
|
|
<ClCompile Include="$(SrcDir)libresrc.cpp" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="$(SrcDir)libresrc.h" />
|
|
|
|
</ItemGroup>
|
2012-11-17 16:57:52 +01:00
|
|
|
</Project>
|