Aegisub/build/libresrc/libresrc.vcxproj

57 lines
1.9 KiB
XML

<?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>
</PropertyGroup>
<!-- Aegisub project configuration -->
<PropertyGroup Label="AegisubConfiguration">
<AegisubProjectType>lib</AegisubProjectType>
<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>
</ItemDefinitionGroup>
<ImportGroup Label="ExtensionTargets">
<Import Project="$(MSBuildThisFileDirectory)..\respack\Aegisub.ResPack.targets" />
</ImportGroup>
<Target Name="DefaultConfig" BeforeTargets="ResPackGenerate">
<Copy
SourceFiles="$(SrcDir)default_config_win.json"
DestinationFiles="$(SrcDir)default_config_platform.json"
SkipUnchangedFiles="true"
/>
</Target>
<!-- 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>