Remove explicit references to libraries and use project references instead
This commit is contained in:
parent
fc7d50dfb5
commit
c2510b1ef0
2 changed files with 37 additions and 34 deletions
|
@ -137,9 +137,6 @@
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_AUTO4_LUA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_AUTO4_LUA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(AegisubContribBase)lua51\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(AegisubContribBase)lua51\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
|
||||||
<AdditionalDependencies>lua51.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<!-- Hunspell support -->
|
<!-- Hunspell support -->
|
||||||
|
@ -148,9 +145,6 @@
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_HUNSPELL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_HUNSPELL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(AegisubContribBase)hunspell\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(AegisubContribBase)hunspell\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
|
||||||
<AdditionalDependencies>hunspell.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<!-- CSRI helper library support -->
|
<!-- CSRI helper library support -->
|
||||||
|
@ -158,9 +152,6 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_CSRI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_CSRI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
|
||||||
<AdditionalDependencies>csrihelper.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<!-- CSRI external library support -->
|
<!-- CSRI external library support -->
|
||||||
|
@ -274,19 +265,8 @@
|
||||||
%(AdditionalIncludeDirectories)
|
%(AdditionalIncludeDirectories)
|
||||||
</AdditionalIncludeDirectories>
|
</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
|
||||||
<AdditionalLibraryDirectories>$(AegisubLibraryDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>
|
|
||||||
libiconv.lib;
|
|
||||||
libresrc.lib;
|
|
||||||
libaegisub.lib;
|
|
||||||
universalchardet.lib;
|
|
||||||
%(AdditionalDependencies)
|
|
||||||
</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
|
|
||||||
<!-- Add property pages -->
|
<!-- Add property pages -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)Aegisub.xml" />
|
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)Aegisub.xml" />
|
||||||
|
|
|
@ -423,4 +423,27 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="$(SrcDir)res.rc" />
|
<ResourceCompile Include="$(SrcDir)res.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\csrihelper\csrihelper.vcxproj">
|
||||||
|
<Project>{c832eaf3-860d-4373-a02c-933626b47a5e}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\hunspell\hunspell.vcxproj">
|
||||||
|
<Project>{cc791693-6b28-40ac-879d-64a6c16468e3}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libaegisub\libaegisub.vcxproj">
|
||||||
|
<Project>{bb3fed86-db7a-4dc7-964a-260fb86cde61}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libiconv\libiconv.vcxproj">
|
||||||
|
<Project>{965054d2-44f2-4eb2-9879-051cc3d7ef08}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libresrc\libresrc.vcxproj">
|
||||||
|
<Project>{bd00d65f-24da-4784-8860-3b972ea125fc}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\lua51\lua51.vcxproj">
|
||||||
|
<Project>{5391a8b1-9c70-4dc4-92ad-d3e34c6b803f}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\universalchardet\universalchardet.vcxproj">
|
||||||
|
<Project>{7b56955d-5162-4698-aa5b-47484edc8783}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in a new issue