Linking CXX shared library ../../lib/solid.so So yes, the 2 files both get staged in the same directory (the lib/ subdirectory of the CMake build directory) and thus overwrite each other.