Aegisub/build/libresrc/libresrc.vcxproj
Thomas Goyne d3a4bed994 Port respack to lua
Simplifies the build system a little by cutting down on the number of
helpers that need to be built.
2014-05-08 10:39:18 -07:00

62 lines
2.1 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>$(MSBuildThisFileDirectory)..\..\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>
</ItemDefinitionGroup>
<ImportGroup Label="ExtensionTargets">
<Import Project="$(MSBuildThisFileDirectory)..\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="$(SrcDir)manifest.respack">
<OutputName>default_config</OutputName>
<OutputDir>$(SrcDir)</OutputDir>
</ResPack>
<ResPack Include="$(SrcDir)..\bitmaps\manifest.respack">
<OutputName>bitmap</OutputName>
<OutputDir>$(SrcDir)</OutputDir>
</ResPack>
</ItemGroup>
<ItemGroup>
<ClCompile Include="$(SrcDir)libresrc.cpp" />
<ClCompile Include="$(SrcDir)bitmap.cpp" />
<ClCompile Include="$(SrcDir)default_config.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(SrcDir)libresrc.h" />
<ClInclude Include="$(SrcDir)bitmap.h" />
<ClInclude Include="$(SrcDir)default_config.h" />
</ItemGroup>
<ItemGroup>
<None Include="$(SrcDir)manifest.respack" />
<None Include="$(SrcDir)..\bitmaps\manifest.respack" />
<None Include="$(SrcDir)..\..\tools\respack.lua" />
</ItemGroup>
</Project>