1add_library(myotherlib SHARED myotherlib.cpp) 2set_target_properties( myotherlib PROPERTIES 3 VERSION 1.2.3 4 SOVERSION 1 5) 6 7