pybind11/tools
Pieter P 9b3a200065
fix(cmake): improved cross-compilation support (#5083)
* fix(cmake): do not use Python::Interpreter when cross-compiling

* chore: apply cmake-format to pybind11NewTools.cmake

* fix(cmake): do not look for Python Interpreter component when cross-compiling

* feat(cmake): guess Python extension suffix

* fix: add pybind11GuessPythonExtSuffix.cmake to packaging test

* Use PYBIND11_CROSSCOMPILING instead of CMAKE_CROSSCOMPILING

* refactor: require PYBIND11_USE_CROSSCOMPILING

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
2024-06-06 17:17:54 -04:00
..
check-style.sh Add shellcheck style checking (#3114) 2021-07-14 16:52:13 -04:00
cmake_uninstall.cmake.in format: include .in files 2020-08-06 11:54:41 -04:00
codespell_ignore_lines_from_errors.py chore: move to Ruff and add rules (#4483) 2023-02-22 06:18:55 -08:00
FindCatch.cmake Revert "Go back to CMake 3.25.2 (#4496)" (#4503) 2023-02-16 10:54:57 -05:00
FindEigen3.cmake style: avoid using unintialized variables (#2806) 2021-01-19 18:48:22 -05:00
FindPythonLibsNew.cmake fix(cmake): improved cross-compilation support (#5083) 2024-06-06 17:17:54 -04:00
JoinPaths.cmake feat(cmake): add installation support for pkg-config dependency detection (#4077) 2022-08-09 00:02:45 -04:00
libsize.py chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
make_changelog.py chore: prepare 2.12.0 (#5070) 2024-03-27 18:09:06 -04:00
pybind11.pc.in feat(cmake): add installation support for pkg-config dependency detection (#4077) 2022-08-09 00:02:45 -04:00
pybind11Common.cmake fix(cmake): improved cross-compilation support (#5083) 2024-06-06 17:17:54 -04:00
pybind11Config.cmake.in fix doc typo 2023-11-03 23:51:16 -04:00
pybind11GuessPythonExtSuffix.cmake fix(cmake): improved cross-compilation support (#5083) 2024-06-06 17:17:54 -04:00
pybind11NewTools.cmake fix(cmake): improved cross-compilation support (#5083) 2024-06-06 17:17:54 -04:00
pybind11Tools.cmake Python_ADDITIONAL_VERSIONS: 3.12 (#4909) 2023-10-31 22:56:16 -04:00
pyproject.toml ci: releases (#2530) 2020-09-30 15:48:08 -04:00
setup_global.py.in First draft of Eigen::Tensor support (#4201) 2022-10-18 16:54:16 -07:00
setup_main.py.in Revert "feat: add entrypoint for cmake modules dir" (#4270) 2022-10-21 17:25:53 -04:00
test-pybind11GuessPythonExtSuffix.cmake fix(cmake): improved cross-compilation support (#5083) 2024-06-06 17:17:54 -04:00