Skip to content

Commit

Permalink
Use CThreads also in FreeBSD and Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
dioannidis committed Aug 30, 2023
1 parent 1851a2f commit e7852f8
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions terminal/prjUSBaspUARTTerminal.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<UseVersionInfo Value="True"/>
<AutoIncrementBuild Value="True"/>
<MinorVersionNr Value="8"/>
<BuildNr Value="81"/>
<BuildNr Value="85"/>
<StringTable FileDescription="USBasp GUI HID UART Terminal" InternalName="prjFPUSBaspUARTTerminal" LegalCopyright="© 2022 - 2023 Dimitrios Chr. Ioannidis" LegalTrademarks="© 2022 - 2023 Dimitrios Chr. Ioannidis" OriginalFilename="prjFPUSBaspUARTTerminal.exe" ProductName="USBasp GUI HID UART Terminal" ProductVersion="0.5"/>
</VersionInfo>
<BuildModes Count="4">
Expand All @@ -33,7 +33,9 @@
<OtherUnitFiles Value="..\source;..\source\splashabout;..\source\poweredby"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(BuildMode)"/>
</SearchPaths>
<Conditionals Value="if TargetOS = 'linux' then
<Conditionals Value="if (TargetOS = 'linux') or
(TargetOS = 'freebsd') or
(TargetOS = 'darwin') then
CustomOptions := '-dUseCThreads';"/>
<CodeGeneration>
<SmartLinkUnit Value="True"/>
Expand Down Expand Up @@ -68,7 +70,9 @@
<OtherUnitFiles Value="..\source;..\source\splashabout;..\source\poweredby"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(BuildMode)"/>
</SearchPaths>
<Conditionals Value="if TargetOS = 'linux' then
<Conditionals Value="if (TargetOS = 'linux') or
(TargetOS = 'freebsd') or
(TargetOS = 'darwin') then
CustomOptions := '-dUseCThreads';"/>
<Parsing>
<SyntaxOptions>
Expand Down Expand Up @@ -115,7 +119,9 @@
<OtherUnitFiles Value="..\source;..\source\splashabout;..\source\poweredby"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(BuildMode)"/>
</SearchPaths>
<Conditionals Value="if TargetOS = 'linux' then
<Conditionals Value="if (TargetOS = 'linux') or
(TargetOS = 'freebsd') or
(TargetOS = 'darwin') then
CustomOptions := '-dUseCThreads';"/>
<CodeGeneration>
<SmartLinkUnit Value="True"/>
Expand Down Expand Up @@ -176,7 +182,9 @@
<OtherUnitFiles Value="..\source;..\source\splashabout;..\source\poweredby"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(BuildMode)"/>
</SearchPaths>
<Conditionals Value="if TargetOS = 'linux' then
<Conditionals Value="if (TargetOS = 'linux') or
(TargetOS = 'freebsd') or
(TargetOS = 'darwin') then
CustomOptions := '-dUseCThreads';"/>
<Parsing>
<SyntaxOptions>
Expand Down

0 comments on commit e7852f8

Please sign in to comment.