diff --git a/README.md b/README.md index 4a24378..61082c2 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ configured via `[tool.scikit-build]`. | [`core-c-hello`](projects/core-c-hello) | Raw C extension | | [`core-cython-hello`](projects/core-cython-hello) | Cython via [cython-cmake](https://github.com/scikit-build/cython-cmake) | | [`core-pybind11-hello`](projects/core-pybind11-hello) | pybind11 binding | +| [`core-nanobind-shared`](projects/core-nanobind-shared) | [nanobind](https://nanobind.readthedocs.io) binding linking a shared library shipped in the wheel | | [`hello-cmake-package`](projects/hello-cmake-package) | Standalone C library, exported CMake package, and pybind11 wrapper | | [`hello-free-threading`](projects/hello-free-threading) | Free-threaded (no-GIL) build; requires Python 3.13+ | | [`pi-fortran`](projects/pi-fortran) | Fortran via f2py and [f2py-cmake](https://github.com/scikit-build/f2py-cmake) | diff --git a/projects/core-c-hello/CMakeLists.txt b/projects/core-c-hello/CMakeLists.txt index df278dc..e69ff81 100644 --- a/projects/core-c-hello/CMakeLists.txt +++ b/projects/core-c-hello/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.26) +cmake_minimum_required(VERSION 3.15...4.3) project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES C) diff --git a/projects/core-cython-hello/CMakeLists.txt b/projects/core-cython-hello/CMakeLists.txt index daeb9ba..341f96e 100644 --- a/projects/core-cython-hello/CMakeLists.txt +++ b/projects/core-cython-hello/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.26) +cmake_minimum_required(VERSION 3.15...4.3) project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES C) diff --git a/projects/core-nanobind-shared/CMakeLists.txt b/projects/core-nanobind-shared/CMakeLists.txt index ff49650..6f0eb2e 100644 --- a/projects/core-nanobind-shared/CMakeLists.txt +++ b/projects/core-nanobind-shared/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.30) +cmake_minimum_required(VERSION 3.15...4.3) project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES CXX) diff --git a/projects/core-pybind11-hello/CMakeLists.txt b/projects/core-pybind11-hello/CMakeLists.txt index aa7a3da..4e213af 100644 --- a/projects/core-pybind11-hello/CMakeLists.txt +++ b/projects/core-pybind11-hello/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.26) +cmake_minimum_required(VERSION 3.15...4.3) project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES CXX) diff --git a/projects/hatchling-pybind11-hello/CMakeLists.txt b/projects/hatchling-pybind11-hello/CMakeLists.txt index 2bca40f..0d73e6b 100644 --- a/projects/hatchling-pybind11-hello/CMakeLists.txt +++ b/projects/hatchling-pybind11-hello/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.29) +cmake_minimum_required(VERSION 3.15...4.3) project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES CXX) diff --git a/projects/hello-cmake-package/CMakeLists.txt b/projects/hello-cmake-package/CMakeLists.txt index 0ac1e13..1119479 100644 --- a/projects/hello-cmake-package/CMakeLists.txt +++ b/projects/hello-cmake-package/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.26) +cmake_minimum_required(VERSION 3.15...4.3) project( hello diff --git a/projects/hello-cmake-package/tests/cpp/CMakeLists.txt b/projects/hello-cmake-package/tests/cpp/CMakeLists.txt index 5837a40..ab14458 100644 --- a/projects/hello-cmake-package/tests/cpp/CMakeLists.txt +++ b/projects/hello-cmake-package/tests/cpp/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14...3.19) +cmake_minimum_required(VERSION 3.14...4.3) project(hello-user VERSION 0.1.0) diff --git a/projects/hello-cpp/CMakeLists.txt b/projects/hello-cpp/CMakeLists.txt index 0885632..915317f 100644 --- a/projects/hello-cpp/CMakeLists.txt +++ b/projects/hello-cpp/CMakeLists.txt @@ -1,3 +1,4 @@ +# Max stays <3.27: find_package(PythonExtensions) needs FindPythonInterp, removed in 3.27 cmake_minimum_required(VERSION 3.15...3.26) project(hello) diff --git a/projects/hello-cython/CMakeLists.txt b/projects/hello-cython/CMakeLists.txt index abaf2ae..a687cda 100644 --- a/projects/hello-cython/CMakeLists.txt +++ b/projects/hello-cython/CMakeLists.txt @@ -1,3 +1,4 @@ +# Max stays <3.27: find_package(PythonExtensions) needs FindPythonInterp, removed in 3.27 cmake_minimum_required(VERSION 3.15...3.26) project(hello_cython) diff --git a/projects/hello-free-threading/CMakeLists.txt b/projects/hello-free-threading/CMakeLists.txt index a55a252..b209984 100644 --- a/projects/hello-free-threading/CMakeLists.txt +++ b/projects/hello-free-threading/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.29) +cmake_minimum_required(VERSION 3.15...4.3) project(FreeComputePi LANGUAGES CXX) diff --git a/projects/hello-pybind11/CMakeLists.txt b/projects/hello-pybind11/CMakeLists.txt index fef4e1a..0346bee 100644 --- a/projects/hello-pybind11/CMakeLists.txt +++ b/projects/hello-pybind11/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.26) +cmake_minimum_required(VERSION 3.15...4.3) project(hello-pybind11 VERSION "0.1") diff --git a/projects/pen2-cython/CMakeLists.txt b/projects/pen2-cython/CMakeLists.txt index bdf44bd..2762537 100644 --- a/projects/pen2-cython/CMakeLists.txt +++ b/projects/pen2-cython/CMakeLists.txt @@ -1,3 +1,4 @@ +# Max stays <3.27: find_package(PythonExtensions) needs FindPythonInterp, removed in 3.27 cmake_minimum_required(VERSION 3.15...3.26) project(pen2_cython) diff --git a/projects/pi-fortran/CMakeLists.txt b/projects/pi-fortran/CMakeLists.txt index 3f49193..5158785 100644 --- a/projects/pi-fortran/CMakeLists.txt +++ b/projects/pi-fortran/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.17.2...3.29) +cmake_minimum_required(VERSION 3.17.2...4.3) project(pi VERSION 1.0.1 diff --git a/projects/tower-of-babel/CMakeLists.txt b/projects/tower-of-babel/CMakeLists.txt index 18f19cf..477b041 100644 --- a/projects/tower-of-babel/CMakeLists.txt +++ b/projects/tower-of-babel/CMakeLists.txt @@ -1,3 +1,4 @@ +# Max stays <3.27: find_package(PythonExtensions) needs FindPythonInterp, removed in 3.27 cmake_minimum_required(VERSION 3.15...3.26) project(tower_of_babel)