whole_archive is referred to in the documentation as load_archive
The documentation refers to the new load_archive/whole_archive features as load_archive
: https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html#genex:LINK_LIBRARY
But in this repository, when grepping on that, I can only find documentation and tests.
After searching history I discovered dabe56de. That seems to have introduced the implementation (named as WHOLE_ARCHIVE in the implementation) while simultaneously changing the name whole_archive
to load_archive
in the documentation. So this looks like a rename refactor done only partially.