<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <!-- VC boilerplate --> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Debug|x64"> <Configuration>Debug</Configuration> <Platform>x64</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|Win32"> <Configuration>Release</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|x64"> <Configuration>Release</Configuration> <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{BD00D65F-24DA-4784-8860-3B972EA125FC}</ProjectGuid> <RootNamespace>libresrc</RootNamespace> </PropertyGroup> <!-- Aegisub project configuration --> <PropertyGroup Label="AegisubConfiguration"> <AegisubProjectType>lib</AegisubProjectType> <AegisubUseWxWidgets>true</AegisubUseWxWidgets> <SrcDir>..\..\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> <ResPack> <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"> <OutputName>default_config.cpp</OutputName> <OutputHeader>default_config.h</OutputHeader> </ResPack> <ResPack Include="..\..\src\bitmaps\manifest.respack"> <OutputName>bitmap.cpp</OutputName> <OutputHeader>bitmap.h</OutputHeader> </ResPack> </ItemGroup> <ItemGroup> <ClCompile Include="$(SrcDir)libresrc.cpp" /> </ItemGroup> <ItemGroup> <ClInclude Include="$(SrcDir)libresrc.h" /> </ItemGroup> </Project>