forked from mia/Aegisub
eb2793f88d
This eliminates the need for a msys environment to build any part of Aegisub. Also happens to make building FFmpeg much faster (~3 minutes vs. ~10 minutes for me).
67 lines
2.3 KiB
XML
67 lines
2.3 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>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\luajit-minilua\luajit-minilua.vcxproj">
|
|
<Project>{fcaed410-90ef-4ef9-916c-4b86dc13a3cf}</Project>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
</Project>
|