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

View file

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