mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
fc59f4e6e5
* fix(cmake): add required emscripten flags Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * Update emscripten.yaml * fix(cmake): add required emscripten flags to headers target Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): incorrect detection of Emscripten Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): allow pybind11::headers to be modified Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): hide a warning when building the tests standalone Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): use explicit variable for is config Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): go back to ALIAS target Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: reduce overall diff Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: reduce overall diff Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: shorten code a bit Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
22 lines
629 B
TOML
22 lines
629 B
TOML
# Warning: this is currently used for pyodide, and is not a general out-of-tree
|
|
# builder for the tests (yet). Specifically, wheels can't be built from SDists.
|
|
|
|
[build-system]
|
|
requires = ["scikit-build-core"]
|
|
build-backend = "scikit_build_core.build"
|
|
|
|
[project]
|
|
name = "pybind11_tests"
|
|
version = "0.0.1"
|
|
dependencies = ["pytest", "pytest-timeout", "numpy", "scipy"]
|
|
|
|
[tool.scikit-build]
|
|
# Hide a warning while we also support CMake < 3.15
|
|
cmake.version = ">=3.15"
|
|
|
|
[tool.scikit-build.cmake.define]
|
|
PYBIND11_FINDPYTHON = true
|
|
|
|
[tool.cibuildwheel]
|
|
test-command = "pytest -o timeout=0 -p no:cacheprovider {project}/tests/test_*.py"
|