-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor for Lazarus package. Dynamic loading is now the default for …
…Lazarus packages.
- Loading branch information
1 parent
81e3b4b
commit df75825
Showing
5 changed files
with
58 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
} | ||
unit hidapi; | ||
|
||
{$define HIDAPI_LOAD_DYNAMICALLY} | ||
{$i hidapi.inc} | ||
|
||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CONFIG> | ||
<Package Version="5"> | ||
<PathDelim Value="\"/> | ||
<Name Value="hidapi_pkg"/> | ||
<Author Value="Bernd Kreuss <[email protected]>, Dimitrios Chr. Ioannidis <[email protected]>"/> | ||
<CompilerOptions> | ||
<Version Value="11"/> | ||
<PathDelim Value="\"/> | ||
<SearchPaths> | ||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> | ||
</SearchPaths> | ||
</CompilerOptions> | ||
<Description Value="libhidapi bindings. Supports Windows, Linux and macOS."/> | ||
<License Value="GPL 2"/> | ||
<Version Minor="3"/> | ||
<Files Count="1"> | ||
<Item1> | ||
<Filename Value="hidapi.pas"/> | ||
<UnitName Value="hidapi"/> | ||
</Item1> | ||
</Files> | ||
<CompatibilityMode Value="True"/> | ||
<RequiredPkgs Count="1"> | ||
<Item1> | ||
<PackageName Value="FCL"/> | ||
</Item1> | ||
</RequiredPkgs> | ||
<UsageOptions> | ||
<UnitPath Value="$(PkgOutDir)"/> | ||
</UsageOptions> | ||
<PublishOptions> | ||
<Version Value="2"/> | ||
<UseFileFilters Value="True"/> | ||
</PublishOptions> | ||
</Package> | ||
</CONFIG> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CONFIG> | ||
<Package Version="4"> | ||
<PathDelim Value="\"/> | ||
<Name Value="hidapi_pkg"/> | ||
<Type Value="RunTimeOnly"/> | ||
<Author Value="Bernd Kreuss <[email protected]>, Dimitrios Chr. Ioannidis <[email protected]>"/> | ||
<CompilerOptions> | ||
<Version Value="11"/> | ||
<PathDelim Value="\"/> | ||
<SearchPaths> | ||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> | ||
</SearchPaths> | ||
</CompilerOptions> | ||
<Description Value="libhidapi bindings. Supports Windows, Linux and macOS."/> | ||
<License Value="GPL 2"/> | ||
<Version Minor="3"/> | ||
<Files Count="1"> | ||
<Item1> | ||
<Filename Value="hidapi.pas"/> | ||
<UnitName Value="hidapi"/> | ||
</Item1> | ||
</Files> | ||
<RequiredPkgs Count="1"> | ||
<Item1> | ||
<PackageName Value="FCL"/> | ||
</Item1> | ||
</RequiredPkgs> | ||
<UsageOptions> | ||
<UnitPath Value="$(PkgOutDir)"/> | ||
</UsageOptions> | ||
<PublishOptions> | ||
<Version Value="2"/> | ||
<UseFileFilters Value="True"/> | ||
</PublishOptions> | ||
</Package> | ||
</CONFIG> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ This file was automatically created by Lazarus. Do not edit! | ||
This source is only used to compile and install the package. | ||
} | ||
|
||
unit hidapi_pkg; | ||
|
||
{$warn 5023 off : no warning about unused units} | ||
interface | ||
|
||
uses | ||
hidapi_dyn; | ||
|
||
implementation | ||
|
||
end. | ||
{ This file was automatically created by Lazarus. Do not edit! | ||
This source is only used to compile and install the package. | ||
} | ||
|
||
unit hidapi_pkg; | ||
|
||
{$warn 5023 off : no warning about unused units} | ||
interface | ||
|
||
uses | ||
hidapi; | ||
|
||
implementation | ||
|
||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters