On Tuesday 09 December 2008, Eric Noulard wrote: > 2008/12/9 Shlomi Fish <[EMAIL PROTECTED]>: > > Hi all! > > > > I have a .so library (for Unix/Windows) that I maintain several versions > > of. I'd like to have a symbolic links structure similar to > > libtool's -version-info : > > > > http://www.ensta.fr/~diam/dev/online/autoconf/autobook/autobook_91.html > > > > The problem is that when doing ADD_LIBRARY, the resultant .so is just .so > > with no versions inside. How can I emulate the behaviour of libtool in > > this regard using CMake? > > SET_TARGET_PROPERTIES(<yourlib> PROPERTIES VERSION 1.0.0 SOVERSION 1) > > see > http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_tgt:SOVERSION
Thanks! That seems to have done the trick. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ What does "Zionism" mean? - http://xrl.us/bjn8u Shlomi, so what are you working on? Working on a new wiki about unit testing fortunes in freecell? -- Ran Eilam _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake