turbopower_ipro: compile unit iphtmlpv only with -dHTML_Print

git-svn-id: trunk@51268 -
This commit is contained in:
mattias 2016-01-13 17:21:16 +00:00
parent dfc8958222
commit ab1eb98044
3 changed files with 7 additions and 2 deletions

View File

@ -32,6 +32,10 @@
unit IpHtmlPv;
{$IFNDEF Html_Print}
{$ERROR requires -dHTML_Print}
{$ENDIF}
interface
uses

View File

@ -2,6 +2,7 @@
<CONFIG>
<Package Version="4">
<Name Value="TurboPowerIPro"/>
<Type Value="RunAndDesignTime"/>
<Author Value="Turbopower, portiert fuer Lazarus von Mattias Gaertner"/>
<CompilerOptions>
<Version Value="11"/>
@ -53,6 +54,7 @@
</Item6>
<Item7>
<Filename Value="iphtmlpv.pas"/>
<AddToUsesPkgSection Value="False"/>
<UnitName Value="IpHtmlPv"/>
</Item7>
<Item8>
@ -96,7 +98,6 @@
<EnableI18N Value="True"/>
<OutDir Value="languages"/>
</i18n>
<Type Value="RunAndDesignTime"/>
<RequiredPkgs Count="1">
<Item1>
<PackageName Value="Printer4Lazarus"/>

View File

@ -7,7 +7,7 @@ unit TurboPowerIPro;
interface
uses
IpAnim, IpConst, Ipfilebroker, IpHtml, {$IFDEF Html_Print}IpHtmlPv,{$ENDIF} IpMsg, IpStrms, IpUtils,
IpAnim, IpConst, Ipfilebroker, IpHtml, IpMsg, IpStrms, IpUtils,
IpHtmlTabList, iphtmlprop, ipHtmlBlockLayout, ipHtmlTableLayout,
LazarusPackageIntf;