File tree Expand file tree Collapse file tree 9 files changed +12
-17
lines changed
Expand file tree Collapse file tree 9 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 66 push :
77 branches :
88 - master
9+ - main
910
1011concurrency :
1112 group : ${{ github.workflow }}-${{ github.ref }}
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.15...3.25 )
1+ cmake_minimum_required (VERSION 3.15...3.26 )
22
33project (${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES C)
44
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.15...3.25 )
1+ cmake_minimum_required (VERSION 3.15...3.26 )
22
33project (${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES CXX)
44
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.14 ...3.19 )
1+ cmake_minimum_required (VERSION 3.15 ...3.26 )
22
33project (
44 hello
@@ -67,9 +67,6 @@ install(FILES "${PROJECT_BINARY_DIR}/helloConfig.cmake"
6767# build flow.
6868if (DEFINED SKBUILD)
6969
70- # prevent an unused variable warning
71- set (ignoreMe "${SKBUILD} " )
72-
7370 # call pybind11-config to obtain the root of the cmake package
7471 execute_process (COMMAND ${PYTHON_EXECUTABLE} -m pybind11 --cmakedir
7572 OUTPUT_VARIABLE pybind11_ROOT_RAW)
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.4 ...3.22 )
1+ cmake_minimum_required (VERSION 3.15 ...3.26 )
22
33project (hello)
44
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5 ...3.22 )
1+ cmake_minimum_required (VERSION 3.15 ...3.26 )
22
33project (hello_cython)
44
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.14 ...3.22 )
1+ cmake_minimum_required (VERSION 3.15 ...3.26 )
22
33project (hello-pybind11 VERSION "0.1" )
44
@@ -8,17 +8,14 @@ include(FetchContent)
88
99FetchContent_Declare(
1010 pybind11
11- URL https://github.com/pybind/pybind11/archive/refs/tags/v2.9.2 .tar.gz
12- URL_HASH SHA256=6bd528c4dbe2276635dc787b6b1f2e5316cf6b49ee3e150264e455a0d68d19c1
11+ URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.4 .tar.gz
12+ URL_HASH SHA256=832e2f309c57da9c1e6d4542dedd34b24e4192ecb4d62f6f4866a737454c9970
1313)
1414FetchContent_MakeAvailable(pybind11)
1515
1616set (python_module_name _hello)
1717pybind11_add_module(${python_module_name} MODULE
1818 src/hello/hello_py.cpp
19- )
19+ )
2020
2121install (TARGETS ${python_module_name} DESTINATION .)
22-
23- # Quiet a warning, since this project is only valid with SKBUILD
24- set (ignoreMe "${SKBUILD} " )
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5 ...3.22 )
1+ cmake_minimum_required (VERSION 3.15 ...3.26 )
22
33project (pen2_cython)
44
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5 ...3.22 )
1+ cmake_minimum_required (VERSION 3.15 ...3.26 )
22
33project (tower_of_babel)
44
You can’t perform that action at this time.
0 commit comments