File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ cmake_minimum_required(VERSION 3.15...3.26)
2
2
3
3
project (${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} )
4
4
5
+ include (CMakePrintHelpers )
6
+
5
7
find_package (Python REQUIRED COMPONENTS Interpreter Development.Module )
6
8
find_package (pybind11 CONFIG REQUIRED )
7
9
8
10
pybind11_add_module (_core MODULE src/main.cpp )
11
+
12
+ cmake_print_variables (PYTHON_EXECUTABLE Python_EXECUTABLE PYTHON_MODULE_EXTENSION )
13
+
9
14
target_link_libraries (_core PRIVATE pybind11::headers )
10
15
target_compile_definitions (_core PRIVATE VERSION_INFO=${PROJECT_VERSION} )
11
16
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ test = ["pytest"]
29
29
30
30
[tool .scikit-build ]
31
31
wheel.expand-macos-universal-tags = true
32
+ logging.level = " DEBUG"
33
+ cmake.verbose = true
32
34
33
35
34
36
[tool .pytest .ini_options ]
You can’t perform that action at this time.
0 commit comments