Aegisub/aegisub/build/msbuild/wx.props
Niels Martin Hansen d63a646c2a Small beginnings of MSBuild-based build system, for Visual Studio 2010/Windows 7.1 SDK.
So far proof of concept building just the respack program, using a semi-generalised form of finding wxWidgets. For it to find wxWidgets, a user configuration needs to be placed in the userconfig dir, see readme.txt.

Originally committed to SVN as r4954.
2010-12-11 16:35:22 +00:00

37 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Some helper affixes -->
<PropertyGroup>
<WxLibDbgSuffix Condition="'$(Configuration)'=='Debug'">d</WxLibDbgSuffix>
<WxLibDbgSuffix Condition="'$(Configuration)'=='Release'"></WxLibDbgSuffix>
<WxLibBase>wxbase29u$(WxLibDbgSuffix)</WxLibBase>
<WxLibMsw>wxmsw29u$(WxLibDbgSuffix)</WxLibMsw>
</PropertyGroup>
<!-- Tell the compiler where to search for wx headers and libraries -->
<PropertyGroup>
<IncludePath>$(WxLibraryPath)\mswu$(WxLibDbgSuffix)\;$(WxIncludePath);$(IncludePath)</IncludePath>
<LibraryPath>$(WxLibraryPath);$(LibraryPath)</LibraryPath>
</PropertyGroup>
<!-- Tell the linker to use the appropriate wx libraries -->
<ItemDefinitionGroup>
<Link>
<AdditionalDependencies>
$(WxLibBase).lib;
$(WxLibBase)_net.lib;
$(WxLibBase)_xml.lib;
$(WxLibMsw)_core.lib;
$(WxLibMsw)_adv.lib;
$(WxLibMsw)_gl.lib;
$(WxLibMsw)_stc.lib;
wxscintilla$(WxLibDbgSuffix).lib;
wxzlib$(WxLibDbgSuffix).lib;
wxexpat$(WxLibDbgSuffix).lib;
wxregexu$(WxLibDbgSuffix).lib;
wxpng$(WxLibDbgSuffix).lib;
%(AdditionalDependencies)
</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
</Project>