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 @@ -5,10 +5,15 @@ project(
5
5
VERSION ${SKBUILD_PROJECT_VERSION}
6
6
LANGUAGES CXX )
7
7
8
+ include (CMakePrintHelpers )
9
+
8
10
find_package (Python REQUIRED COMPONENTS Interpreter Development.Module )
9
11
find_package (pybind11 CONFIG REQUIRED )
10
12
11
13
pybind11_add_module (_core MODULE src/main.cpp )
14
+
15
+ cmake_print_variables (PYTHON_EXECUTABLE Python_EXECUTABLE PYTHON_MODULE_EXTENSION )
16
+
12
17
target_link_libraries (_core PRIVATE pybind11::headers )
13
18
target_compile_definitions (_core PRIVATE VERSION_INFO=${PROJECT_VERSION} )
14
19
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