Added option to build against non-default python3 with CMake as well

This commit is contained in:
Philippe Teuwen 2024-11-14 09:31:49 +01:00
commit 8602a182bb
5 changed files with 22 additions and 14 deletions

View file

@ -65,6 +65,7 @@ At the moment both are maintained because they don't perfectly overlap yet.
| dep mbedtls | in_common | in_common | no sys lib: missing support for CMAC in def conf (btw no .pc available) |
| dep python3 | opt, sys, < 3.8 & 3.8 | opt, sys, < 3.8 & 3.8 | |
| python3 detection | pc | pkg_search_module | |
| force python3 version | `PYTHON3_PKGCONFIG=python-3.12` | `-DPYTHON3_PKGCONFIG=python-3.12` | |
| `SKIPPYTHON` | yes | yes | |
| dep pthread | sys | sys | |
| pthread detection | **none** | **none** (1) | (1) cf https://stackoverflow.com/questions/1620918/cmake-and-libpthread ? |

View file

@ -10,7 +10,7 @@
- [Compile for generic Proxmark3 platforms](#compile-for-generic-proxmark3-platforms)
- [Get the latest commits](#get-the-latest-commits)
- [Clean and compile everything](#clean-and-compile-everything)
- [if there are different python3 packages installed](#if-there-are-different-python3-packages-installed)
- [if there are different Python 3 packages installed](#if-there-are-different-python-3-packages-installed)
- [if you got an error](#if-you-got-an-error)
- [Install](#install)
- [Flash the BOOTROM & FULLIMAGE](#flash-the-bootrom--fullimage)
@ -57,10 +57,10 @@ git pull
make clean && make -j
```
### if there are different python3 packages installed
### if there are different Python 3 packages installed
^[Top](#top)
It is possible to point to a different python3 package. For example, to build against Python3.11:
It is possible to point to a different Python 3 package. For example, to build against Python 3.11:
```sh
make clean && make -j PYTHON3_PKGCONFIG=python-3.11