[CMake] providing your own exp file on AIX

Michael Hertling mhertling at online.de
Mon Sep 19 12:21:57 EDT 2011


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


More information about the CMake mailing list