Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
isCompatible: Refactor and assume compile time setup (#2185).
Fix the issues mentioned in #2185. This includes removing the runtime target detection. Instead, a new cmake option OCPN_TARGET_TUPLE is added which hardwires the target platform. OCPN_TARGET_TUPLE must be defined on all platforms where the platform detection in configure time fails. This includes all cross compiled platforms. The syntax for OCPN_TARGET_TUPLE is "target;target-version;arch" for example "flatpak-x86_64;18.08;x86_64". These corresponds to the elements <target>, <target-version> and <target-arch> in the metadata file. Using values not accepted in the XML metadata is not recommended.
- Loading branch information
Alec Leamas
committed
Mar 15, 2021
1 parent
17e2d0a
commit 7230f0e
Showing
7 changed files
with
136 additions
and
163 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
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
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
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