Aegisub/aegisub/build/wx.props

57 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_PropertySheetDisplayName>wxWidgets support</_PropertySheetDisplayName>
</PropertyGroup>
<PropertyGroup>
<!-- Some helper affixes -->
<WxLibDbgSuffix Condition="'$(Configuration)'=='Debug'">d</WxLibDbgSuffix>
<WxLibDbgSuffix Condition="'$(Configuration)'=='Release'"></WxLibDbgSuffix>
<!-- The derived paths are set here rather than the defaults as otherwise
the base path is expanded before it's overridden by the user value -->
<WxIncludePath Condition="'$(WxIncludePath)'==''">$(WxBasePath)\include</WxIncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(WxLibraryPath)'==''">
<WxLibraryPath Condition="'$(Platform)'=='Win32'">$(WxBasePath)\lib32</WxLibraryPath>
<WxLibraryPath Condition="'$(Platform)'=='x64'">$(WxBasePath)\lib64</WxLibraryPath>
</PropertyGroup>
<ItemDefinitionGroup>
<!-- Tell the compiler where to search for wx headers and libraries -->
<ClCompile>
<AdditionalIncludeDirectories>
$(WxLibraryPath)\mswu$(WxLibDbgSuffix);
$(WxIncludePath);
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
</ClCompile>
<ResourceCompile>
<AdditionalIncludeDirectories>$(WxIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalLibraryDirectories>
$(WxLibraryPath);
%(AdditionalLibraryDirectories)
</AdditionalLibraryDirectories>
<!-- Tell the linker to use the appropriate wx libraries -->
<AdditionalDependencies>
wxbase29u$(WxLibDbgSuffix).lib;
wxbase29u$(WxLibDbgSuffix)_net.lib;
wxbase29u$(WxLibDbgSuffix)_xml.lib;
wxmsw29u$(WxLibDbgSuffix)_core.lib;
wxmsw29u$(WxLibDbgSuffix)_adv.lib;
wxmsw29u$(WxLibDbgSuffix)_gl.lib;
wxmsw29u$(WxLibDbgSuffix)_stc.lib;
wxscintilla$(WxLibDbgSuffix).lib;
wxzlib$(WxLibDbgSuffix).lib;
wxexpat$(WxLibDbgSuffix).lib;
wxregexu$(WxLibDbgSuffix).lib;
wxpng$(WxLibDbgSuffix).lib;
%(AdditionalDependencies)
</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
</Project>