Skip to content

Commit

Permalink
FreeBSD and Darwin targets added
Browse files Browse the repository at this point in the history
  • Loading branch information
BobanSpasic committed Apr 18, 2023
1 parent 5f1af04 commit 5c205c8
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 34 deletions.
29 changes: 0 additions & 29 deletions MDX_Tool.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -111,35 +111,6 @@
</Linking>
</CompilerOptions>
</Item>
<Item Name="Release FreeBSD x64">
<CompilerOptions>
<Version Value="11"/>
<PathDelim Value="\"/>
<Target>
<Filename Value="bin\FreeBSD_x64\MDX_Tool"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
<OtherUnitFiles Value="units"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<CodeGeneration>
<SmartLinkUnit Value="True"/>
<TargetCPU Value="x86_64"/>
<TargetOS Value="freebsd"/>
<Optimizations>
<OptimizationLevel Value="3"/>
</Optimizations>
</CodeGeneration>
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
<DebugInfoType Value="dsDwarf2Set"/>
</Debugging>
<LinkSmart Value="True"/>
</Linking>
</CompilerOptions>
</Item>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
Expand Down
68 changes: 63 additions & 5 deletions MDX_Tool.lps
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,73 @@
<ProjectSession>
<PathDelim Value="\"/>
<Version Value="12"/>
<BuildModes Active="Release Win x64">
<Item Name="Release FreeBSD x64">
<CompilerOptions>
<Version Value="11"/>
<PathDelim Value="\"/>
<Target>
<Filename Value="bin\FreeBSD_x64\MDX_Tool"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
<OtherUnitFiles Value="ext\HashLib\Base;ext\HashLib\Interfaces;ext\HashLib\Utils;ext\HashLib\KDF;ext\HashLib\Nullable;ext\HashLib\NullDigest;ext\HashLib\Checksum;ext\HashLib\Crypto;ext\HashLib\Hash32;ext\HashLib\Hash64;ext\HashLib\Hash128;ext\HashLib\Crypto\Blake2BParams;ext\HashLib\Crypto\Blake2SParams;ext\HashLib\Interfaces\IBlake2BParams;ext\HashLib\Interfaces\IBlake2SParams;units"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<CodeGeneration>
<SmartLinkUnit Value="True"/>
<TargetCPU Value="x86_64"/>
<TargetOS Value="freebsd"/>
<Optimizations>
<OptimizationLevel Value="3"/>
</Optimizations>
</CodeGeneration>
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
<DebugInfoType Value="dsDwarf2Set"/>
</Debugging>
<LinkSmart Value="True"/>
</Linking>
</CompilerOptions>
</Item>
<Item Name="Release Darwin x64">
<CompilerOptions>
<Version Value="11"/>
<PathDelim Value="\"/>
<Target>
<Filename Value="bin\Darwin\MDX_Tool"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
<OtherUnitFiles Value="ext\HashLib\Base;ext\HashLib\Interfaces;ext\HashLib\Utils;ext\HashLib\KDF;ext\HashLib\Nullable;ext\HashLib\NullDigest;ext\HashLib\Checksum;ext\HashLib\Crypto;ext\HashLib\Hash32;ext\HashLib\Hash64;ext\HashLib\Hash128;ext\HashLib\Crypto\Blake2BParams;ext\HashLib\Crypto\Blake2SParams;ext\HashLib\Interfaces\IBlake2BParams;ext\HashLib\Interfaces\IBlake2SParams;units"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<CodeGeneration>
<SmartLinkUnit Value="True"/>
<TargetCPU Value="x86_64"/>
<TargetOS Value="darwin"/>
<Optimizations>
<OptimizationLevel Value="3"/>
</Optimizations>
</CodeGeneration>
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
<DebugInfoType Value="dsDwarf2Set"/>
</Debugging>
<LinkSmart Value="True"/>
</Linking>
</CompilerOptions>
</Item>
</BuildModes>
<ManyBuildModesSelection Value="Debug,&quot;Release Win64&quot;"/>
<BuildModes Active="Release Win x64"/>
<Units>
<Unit>
<Filename Value="MDX_Tool.lpr"/>
<IsPartOfProject Value="True"/>
<TopLine Value="489"/>
<CursorPos X="81" Y="512"/>
<IsVisibleTab Value="True"/>
<CursorPos X="52" Y="16"/>
<UsageCount Value="83"/>
<Loaded Value="True"/>
</Unit>
Expand Down Expand Up @@ -57,9 +116,8 @@
</Unit>
<Unit>
<Filename Value="units\untDX7Voice.pas"/>
<IsVisibleTab Value="True"/>
<EditorIndex Value="5"/>
<TopLine Value="20"/>
<TopLine Value="8"/>
<CursorPos X="12" Y="32"/>
<UsageCount Value="21"/>
<Loaded Value="True"/>
Expand Down
31 changes: 31 additions & 0 deletions darwin_compiler_switches.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/usr/local/bin/fpc
-Tdarwin
-Px86_64
-MObjFPC
-Scghi
-CX
-O3
-XX
-l
-vewnhibq
-Filib/x86_64-darwin
-Fuext/HashLib/Base
-Fuext/HashLib/Interfaces
-Fuext/HashLib/Utils
-Fuext/HashLib/KDF
-Fuext/HashLib/Nullable
-Fuext/HashLib/NullDigest
-Fuext/HashLib/Checksum
-Fuext/HashLib/Crypto
-Fuext/HashLib/Hash32
-Fuext/HashLib/Hash64
-Fuext/HashLib/Hash128
-Fuext/HashLib/Crypto/Blake2BParams
-Fuext/HashLib/Crypto/Blake2SParams
-Fuext/HashLib/Interfaces/IBlake2BParams
-Fuext/HashLib/Interfaces/IBlake2SParams
-Fuunits
-Fu.
-FUlib/x86_64-darwin
-FEbin/Darwin
-obin/Darwin/MDX_Tool

0 comments on commit 5c205c8

Please sign in to comment.