The default BSP template that STM32CubeIDE provides is unfortunately only compatible with their build system (makefiles intermingled with obscure witchcraft).
So I had the amazing idea to forcefully convert BSP into a CMake project. In this case CMake is a build system which thankfully does not force users into using the so obnoxious and annoyingly slow Java & Eclipse based IDE called STM32CubeIDE.