Am 06.09.2012 09:43, schrieb Anton Sibilev:
Hi all!
I'm making shared library with add_library(xxx SHARED xxx.c) and as
result I got 'libxxx.so'.
I want to create lib with name like 'libxxx.so.1', can you please
help, how to make this?
Point is not to create link or copy libxxx.so -> libxxx.so.1, but to
create it initially.
Thanks!
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
Try the SUFFIX target property
http://www.cmake.org/cmake/help/v2.8.8/cmake.html#prop_tgt:SUFFIX
For me that works well even changing .dll to .<some-other-ext>
regards,
Michael
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake