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(
55 VERSION ${SKBUILD_PROJECT_VERSION}
66 LANGUAGES CXX)
77
8+ include (CMakePrintHelpers)
9+
810find_package (Python REQUIRED COMPONENTS Interpreter Development.Module)
911find_package (pybind11 CONFIG REQUIRED)
1012
1113pybind11_add_module(_core MODULE src/main.cpp)
14+
15+ cmake_print_variables(PYTHON_EXECUTABLE Python_EXECUTABLE PYTHON_MODULE_EXTENSION)
16+
1217target_link_libraries (_core PRIVATE pybind11::headers)
1318target_compile_definitions (_core PRIVATE VERSION_INFO=${PROJECT_VERSION} )
1419
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ test = ["pytest"]
2929
3030[tool .scikit-build ]
3131wheel.expand-macos-universal-tags = true
32+ logging.level = " DEBUG"
33+ cmake.verbose = true
3234
3335
3436[tool .pytest .ini_options ]
You can’t perform that action at this time.
0 commit comments