forked from mia/Aegisub
Add wx paths to the config properties
This commit is contained in:
parent
83597e1a68
commit
735d687ec5
3 changed files with 70 additions and 34 deletions
|
@ -53,6 +53,10 @@
|
||||||
<AegisubUseUpdateChecker>true</AegisubUseUpdateChecker>
|
<AegisubUseUpdateChecker>true</AegisubUseUpdateChecker>
|
||||||
<UpdateCheckerServer>updates.aegisub.org</UpdateCheckerServer>
|
<UpdateCheckerServer>updates.aegisub.org</UpdateCheckerServer>
|
||||||
<UpdateCheckerURL>/trunk</UpdateCheckerURL>
|
<UpdateCheckerURL>/trunk</UpdateCheckerURL>
|
||||||
|
<WxBasePath>$(AegisubSourceBase)wxlib</WxBasePath>
|
||||||
|
<WxLibraryPath Condition="'$(Platform)'=='Win32'">$(WxBasePath)\lib32</WxLibraryPath>
|
||||||
|
<WxLibraryPath Condition="'$(Platform)'=='x64'">$(WxBasePath)\lib64</WxLibraryPath>
|
||||||
|
<WxIncludePath>$(WxBasePath)\include</WxIncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -45,6 +45,28 @@
|
||||||
<Category Name="Paths" DisplayName="Library paths" Description="Configure third-party library paths" />
|
<Category Name="Paths" DisplayName="Library paths" Description="Configure third-party library paths" />
|
||||||
</Rule.Categories>
|
</Rule.Categories>
|
||||||
|
|
||||||
|
<StringProperty
|
||||||
|
Subtype="folder"
|
||||||
|
Name="WxBasePath"
|
||||||
|
Category="Paths"
|
||||||
|
DisplayName="wxWidgets root"
|
||||||
|
Description="Root directory of the wxWidgets installation to use"
|
||||||
|
/>
|
||||||
|
<StringProperty
|
||||||
|
Subtype="folder"
|
||||||
|
Name="WxLibraryPath"
|
||||||
|
Category="Paths"
|
||||||
|
DisplayName="wxWidgets library path"
|
||||||
|
Description="Location of compiled wxWidgets library files"
|
||||||
|
/>
|
||||||
|
<StringProperty
|
||||||
|
Subtype="folder"
|
||||||
|
Name="WxIncludePath"
|
||||||
|
Category="Paths"
|
||||||
|
DisplayName="wxWidgets include path"
|
||||||
|
Description="Location of wxWidgets header files"
|
||||||
|
/>
|
||||||
|
|
||||||
<BoolProperty
|
<BoolProperty
|
||||||
Name="AegisubUseDSound"
|
Name="AegisubUseDSound"
|
||||||
Category="Features"
|
Category="Features"
|
||||||
|
|
|
@ -1,39 +1,49 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_PropertySheetDisplayName>wxWidgets support</_PropertySheetDisplayName>
|
<_PropertySheetDisplayName>wxWidgets support</_PropertySheetDisplayName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Some helper affixes -->
|
<!-- Some helper affixes -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<WxLibDbgSuffix Condition="'$(Configuration)'=='Debug'">d</WxLibDbgSuffix>
|
<WxLibDbgSuffix Condition="'$(Configuration)'=='Debug'">d</WxLibDbgSuffix>
|
||||||
<WxLibDbgSuffix Condition="'$(Configuration)'=='Release'"></WxLibDbgSuffix>
|
<WxLibDbgSuffix Condition="'$(Configuration)'=='Release'"></WxLibDbgSuffix>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Tell the compiler where to search for wx headers and libraries -->
|
<ItemDefinitionGroup>
|
||||||
<PropertyGroup>
|
<!-- Tell the compiler where to search for wx headers and libraries -->
|
||||||
<IncludePath>$(WxLibraryPath)\mswu$(WxLibDbgSuffix)\;$(WxIncludePath);$(IncludePath)</IncludePath>
|
<ClCompile>
|
||||||
<LibraryPath>$(WxLibraryPath);$(LibraryPath)</LibraryPath>
|
<AdditionalIncludeDirectories>
|
||||||
</PropertyGroup>
|
$(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 -->
|
<!-- Tell the linker to use the appropriate wx libraries -->
|
||||||
<ItemDefinitionGroup>
|
<AdditionalDependencies>
|
||||||
<Link>
|
wxbase29u$(WxLibDbgSuffix).lib;
|
||||||
<AdditionalDependencies>
|
wxbase29u$(WxLibDbgSuffix)_net.lib;
|
||||||
wxbase29u$(WxLibDbgSuffix).lib;
|
wxbase29u$(WxLibDbgSuffix)_xml.lib;
|
||||||
wxbase29u$(WxLibDbgSuffix)_net.lib;
|
wxmsw29u$(WxLibDbgSuffix)_core.lib;
|
||||||
wxbase29u$(WxLibDbgSuffix)_xml.lib;
|
wxmsw29u$(WxLibDbgSuffix)_adv.lib;
|
||||||
wxmsw29u$(WxLibDbgSuffix)_core.lib;
|
wxmsw29u$(WxLibDbgSuffix)_gl.lib;
|
||||||
wxmsw29u$(WxLibDbgSuffix)_adv.lib;
|
wxmsw29u$(WxLibDbgSuffix)_stc.lib;
|
||||||
wxmsw29u$(WxLibDbgSuffix)_gl.lib;
|
wxscintilla$(WxLibDbgSuffix).lib;
|
||||||
wxmsw29u$(WxLibDbgSuffix)_stc.lib;
|
wxzlib$(WxLibDbgSuffix).lib;
|
||||||
wxscintilla$(WxLibDbgSuffix).lib;
|
wxexpat$(WxLibDbgSuffix).lib;
|
||||||
wxzlib$(WxLibDbgSuffix).lib;
|
wxregexu$(WxLibDbgSuffix).lib;
|
||||||
wxexpat$(WxLibDbgSuffix).lib;
|
wxpng$(WxLibDbgSuffix).lib;
|
||||||
wxregexu$(WxLibDbgSuffix).lib;
|
%(AdditionalDependencies)
|
||||||
wxpng$(WxLibDbgSuffix).lib;
|
</AdditionalDependencies>
|
||||||
%(AdditionalDependencies)
|
</Link>
|
||||||
</AdditionalDependencies>
|
</ItemDefinitionGroup>
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in a new issue