Skip to content

Commit 01500bb

Browse files
committed
WIP: add debugging printouts
1 parent 95b6795 commit 01500bb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ project(
55
VERSION ${SKBUILD_PROJECT_VERSION}
66
LANGUAGES CXX)
77

8+
include(CMakePrintHelpers)
9+
810
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)
911
find_package(pybind11 CONFIG REQUIRED)
1012

1113
pybind11_add_module(_core MODULE src/main.cpp)
14+
15+
cmake_print_variables(PYTHON_EXECUTABLE Python_EXECUTABLE PYTHON_MODULE_EXTENSION)
16+
1217
target_link_libraries(_core PRIVATE pybind11::headers)
1318
target_compile_definitions(_core PRIVATE VERSION_INFO=${PROJECT_VERSION})
1419

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ test = ["pytest"]
2929

3030
[tool.scikit-build]
3131
wheel.expand-macos-universal-tags = true
32+
logging.level = "DEBUG"
33+
cmake.verbose = true
3234

3335

3436
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)