MSBuild project for libaegisub.

Originally committed to SVN as r5172.
This commit is contained in:
Niels Martin Hansen 2011-01-11 17:50:03 +00:00
parent f576bf912a
commit a7954fc3e0
2 changed files with 355 additions and 0 deletions

View File

@ -0,0 +1,180 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<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>{BB3FED86-DB7A-4DC7-964A-260FB86CDE61}</ProjectGuid>
<RootNamespace>libaegisub</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(MSBuildThisFileDirectory)..\userconfig\*.props" Label="User configuration" />
<Import Project="$(MSBuildThisFileDirectory)..\paths.props" Label="Standard paths" />
<Import Project="$(MSBuildThisFileDirectory)..\standard-settings.props" Label="Standard compiler settings" />
<Import Project="$(MSBuildThisFileDirectory)..\standard-outdirs.props" Label="Standard output directories" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<SrcDir>..\..\..\libaegisub\</SrcDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(SrcDir);$(SrcDir)include;$(AegisubContribBase)iconv\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>lagi_pre.h</PrecompiledHeaderFile>
<ForcedIncludeFiles>lagi_pre.h</ForcedIncludeFiles>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="$(SrcDir)common\charset_ucd.h" />
<ClInclude Include="$(SrcDir)common\option_visit.h" />
<ClInclude Include="$(SrcDir)config.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\access.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\charset.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\charset_conv.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\charset_conv_win.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\colour.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\exception.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\io.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\line_iterator.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\log.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\mru.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\mutex.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\option.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\option_value.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\path.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\scoped_ptr.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\types.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\util.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\util_osx.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\util_win.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\validator.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\vfr.h" />
<ClInclude Include="$(SrcDir)lagi_pre.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\elements.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\reader.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\visitor.h" />
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\writer.h" />
</ItemGroup>
<!-- Unfortunately MSBuild 4.0 doesn't offer a way to do item metadata transformations by functions, meaning lots of redundancy here -->
<ItemGroup>
<ClCompile Include="$(SrcDir)common\charset.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\charset_conv.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\charset_ucd.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\log.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\mru.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\option.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\option_visit.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\path.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\validator.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\vfr.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\access.cpp">
<AssemblerListingLocation>$(IntDir)Windows\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Windows\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Windows\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\charset_conv_win.cpp">
<AssemblerListingLocation>$(IntDir)Windows\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Windows\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Windows\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\io.cpp">
<AssemblerListingLocation>$(IntDir)Windows\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Windows\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Windows\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\lagi_pre.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
<PrecompiledHeaderFile>lagi_pre.h</PrecompiledHeaderFile>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\log.cpp">
<AssemblerListingLocation>$(IntDir)Windows\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Windows\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Windows\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\util.cpp">
<AssemblerListingLocation>$(IntDir)Windows\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Windows\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Windows\</XMLDocumentationFileName>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="$(SrcDir)include\libaegisub\charsets.def" />
<None Include="$(SrcDir)include\libaegisub\cajun\elements.inl" />
<None Include="$(SrcDir)include\libaegisub\cajun\reader.inl" />
<None Include="$(SrcDir)include\libaegisub\cajun\writer.inl" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,175 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files\Common">
<UniqueIdentifier>{4084442f-51e9-4c31-8d5a-c825e076c012}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\Windows">
<UniqueIdentifier>{5af331b5-ea1f-493f-abf9-f5912e2350df}</UniqueIdentifier>
</Filter>
<Filter Include="cajun">
<UniqueIdentifier>{1d2e187a-1681-4c30-8912-a4b5a5d0ab9d}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(SrcDir)common\charset_ucd.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)common\option_visit.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)config.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\access.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\charset.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\charset_conv.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\charset_conv_win.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\colour.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\exception.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\io.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\line_iterator.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\log.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\mru.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\mutex.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\option.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\option_value.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\path.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\scoped_ptr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\types.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\util.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\util_osx.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\util_win.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\validator.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\vfr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)lagi_pre.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\writer.h">
<Filter>cajun</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\visitor.h">
<Filter>cajun</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\elements.h">
<Filter>cajun</Filter>
</ClInclude>
<ClInclude Include="$(SrcDir)include\libaegisub\cajun\reader.h">
<Filter>cajun</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="$(SrcDir)windows\lagi_pre.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\access.cpp">
<Filter>Source Files\Windows</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\charset.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\charset_conv.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\charset_conv_win.cpp">
<Filter>Source Files\Windows</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\charset_ucd.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\io.cpp">
<Filter>Source Files\Windows</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\log.cpp">
<Filter>Source Files\Windows</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\log.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\mru.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\option.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\option_visit.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\path.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)windows\util.cpp">
<Filter>Source Files\Windows</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\validator.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\vfr.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="$(SrcDir)include\libaegisub\charsets.def">
<Filter>Header Files</Filter>
</None>
<None Include="$(SrcDir)include\libaegisub\cajun\elements.inl">
<Filter>cajun</Filter>
</None>
<None Include="$(SrcDir)include\libaegisub\cajun\reader.inl">
<Filter>cajun</Filter>
</None>
<None Include="$(SrcDir)include\libaegisub\cajun\writer.inl">
<Filter>cajun</Filter>
</None>
</ItemGroup>
</Project>