# A static helper in a SUBDIRECTORY, on purpose: `cmake --fresh` (and the cmake-pip
# emulation of it driving editable installs) deletes only the top-level CMakeFiles/
# directory -- the object files of subdirectory targets survive a reconfiguration
# with unchanged options, which is what makes repeated editable installs cheap.
# test_editable.py asserts exactly that on the objects of this target.
add_library(dummy_helper STATIC helper.c)

# linked into a MODULE library
set_target_properties(dummy_helper PROPERTIES POSITION_INDEPENDENT_CODE ON)
