Update libresrc project

This commit is contained in:
Thomas Goyne 2012-11-01 07:55:58 -07:00
parent 98cf1b7350
commit 08eb738de5
2 changed files with 10 additions and 18 deletions

View file

@ -22,24 +22,13 @@
<PropertyGroup Label="Globals">
<ProjectGuid>{BD00D65F-24DA-4784-8860-3B972EA125FC}</ProjectGuid>
<RootNamespace>libresrc</RootNamespace>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<!-- Aegisub project configuration -->
<PropertyGroup Label="AegisubConfiguration">
<AegisubProjectType>lib</AegisubProjectType>
<AegisubUseWxWidgets>true</AegisubUseWxWidgets>
<SrcDir>..\..\..\src\libresrc\</SrcDir>
<SrcDir>..\..\src\libresrc\</SrcDir>
</PropertyGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
@ -50,19 +39,22 @@
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResPack>
<OutputDir>$(MSBuildThisFileDirectory)..\..\..\src\libresrc\</OutputDir>
<OutputDir>$(MSBuildThisFileDirectory)..\..\src\libresrc\</OutputDir>
</ResPack>
<PreBuildEvent>
<Command>copy "$(SrcDir)default_config_win.json" "$(SrcDir)default_config_platform.json"</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ImportGroup Label="ExtensionTargets">
<Import Project="$(MSBuildThisFileDirectory)..\respack\Aegisub.ResPack.targets" />
</ImportGroup>
<!-- Source files -->
<ItemGroup>
<ResPack Include="..\..\..\src\libresrc\manifest.respack">
<ResPack Include="..\..\src\libresrc\manifest.respack">
<OutputName>default_config.cpp</OutputName>
<OutputHeader>default_config.h</OutputHeader>
</ResPack>
<ResPack Include="..\..\..\src\bitmaps\manifest.respack">
<ResPack Include="..\..\src\bitmaps\manifest.respack">
<OutputName>bitmap.cpp</OutputName>
<OutputHeader>bitmap.h</OutputHeader>
</ResPack>
@ -73,4 +65,4 @@
<ItemGroup>
<ClInclude Include="$(SrcDir)libresrc.h" />
</ItemGroup>
</Project>
</Project>

View file

@ -15,10 +15,10 @@
</Filter>
</ItemGroup>
<ItemGroup>
<ResPack Include="..\..\..\src\libresrc\manifest.respack">
<ResPack Include="..\..\src\libresrc\manifest.respack">
<Filter>Resource Files</Filter>
</ResPack>
<ResPack Include="..\..\..\src\bitmaps\manifest.respack">
<ResPack Include="..\..\src\bitmaps\manifest.respack">
<Filter>Resource Files</Filter>
</ResPack>
</ItemGroup>