On 09/14/2011 04:38 PM, Domen Vrankar wrote:
> Hi,
> 
> I'm trying to use my own exp file for linking of a shared library on AIX.
> Currently CMake generates an objects.exp file and I don't know how to
> replace it with my own that was used in Makefile files before I switched to
> CMake and contains less entries than the generated one.
> 
> Is there a way to use my own exp file without changing the code of cmake?
> 
> I'm using cmake 2.8.5 and xlC_r compiler.
> 
> Thanks,
> Domen

If you can get along with Makefiles, you might use one of the
RULE_LAUNCH_LINK properties in order to perform last-minute
modifications of the linker command line; see [1] for an
example how to tweak command lines in this way.

Regards,

Michael

[1] http://www.mail-archive.com/cmake@cmake.org/msg38085.html
_______________________________________________
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

Reply via email to