我在 Cmake 里写了多个add_library,但是有一个 so 在编译时可以看到生成了,但编译快结束时又莫名其妙被自动删除了,最后导致 CMake 报错:
add_library
Expected output file at `libxxx.so` for target `xxx` but there was none
百思不得其解