We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3553850 commit 5982f36Copy full SHA for 5982f36
cmake/nanobind-config.cmake
@@ -430,6 +430,8 @@ function (nanobind_add_stub name)
430
${NB_STUBGEN_EXTRA}
431
)
432
add_custom_target(${name} ALL DEPENDS ${NB_STUBGEN_OUTPUTS} ${STUB_FAKE_FILE})
433
+ file(GLOB STUB_FILES CONFIGURE_DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/*.pyi" )
434
+ set_target_properties(${name} PROPERTIES ADDITIONAL_CLEAN_FILES "${STUB_FILES}")
435
else()
436
set(NB_STUBGEN_EXTRA "")
437
if (ARG_COMPONENT)
0 commit comments