@whitequark we discovered today that the link command for an executable or lib ends up in a link.txt file called from a submakefile via a cmake_link tool or something, and that RM is actually cmake --rm
Also, they recently changed (deb12->deb13) the CMAKE_C_CREATE_STATIC_LIBRARY command from ar rc to ar qc and that it broke our build of a native ios library, the latest xcode choked on the generated .a files. Fuck that shit.
@f4grx the link.txt thing is to avoid length limits on command line arguments (present in both Windows and Linux, though Linux has a much bigger limit)
the cmake --rm is so you can use it on Windows transparently (there's also cmake -E copy and friends, very useful)
@whitequark @f4grx ... TIL that this trick still existed in the "modern" era
we mostly knew it as a borland / msdos-ish-era trick