mirror of https://github.com/odrling/Aegisub
Option to disable HAALISOURCE when building FFMS2 on VS
Visual Studio Express does not supply ATL and can't build the Haali- supplied code in FFMS2, so provide an escape hatch for that.
This commit is contained in:
parent
c30ca1a321
commit
5bb4754e40
|
@ -14,6 +14,10 @@
|
||||||
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
|
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<Ffms2PreprocessorHaalisource Condition="'$(Ffms2UseAtl)'!='0'">HAALISOURCE;</Ffms2PreprocessorHaalisource>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Project specific configuration -->
|
<!-- Project specific configuration -->
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -24,7 +28,7 @@
|
||||||
<PreprocessorDefinitions>
|
<PreprocessorDefinitions>
|
||||||
WITH_AVRESAMPLE;
|
WITH_AVRESAMPLE;
|
||||||
FFMS_EXPORTS;
|
FFMS_EXPORTS;
|
||||||
HAALISOURCE;
|
$(Ffms2PreprocessorHaalisource)
|
||||||
_CRT_SECURE_NO_WARNINGS;
|
_CRT_SECURE_NO_WARNINGS;
|
||||||
_CRT_NONSTDC_NO_DEPRECATE;
|
_CRT_NONSTDC_NO_DEPRECATE;
|
||||||
_SCL_SECURE_NO_WARNINGS;
|
_SCL_SECURE_NO_WARNINGS;
|
||||||
|
|
Loading…
Reference in New Issue