Changed chmmaker to not use xterm to run.

Set uses cthreads always for unix. The chm compiler uses threads by default in fpc now.

git-svn-id: trunk@49070 -
This commit is contained in:
andrew 2015-05-17 15:16:11 +00:00
parent b81e99f438
commit 09ee64f8ed
2 changed files with 5 additions and 4 deletions

View File

@ -25,7 +25,7 @@
<RunParams>
<local>
<FormatVersion Value="1"/>
<LaunchingApplication Use="True" PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
<LaunchingApplication PathPlusParams=""/>
</local>
</RunParams>
<RequiredPackages Count="3">
@ -51,13 +51,14 @@
<ComponentName Value="CHMForm"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<UnitName Value="unit1"/>
</Unit1>
<Unit2>
<Filename Value="chmsitemapeditor.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="SitemapEditForm"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<UnitName Value="CHMSiteMapEditor"/>
</Unit2>
</Units>
</ProjectOptions>

View File

@ -3,9 +3,9 @@ program chmmaker;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
{$IFDEF UNIX}
cthreads,
{$ENDIF}{$ENDIF}
{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, LazFileUtils
{ add your units here }, unit1, CHMSiteMapEditor, lhelpcontrolpkg;