[CMake] How to set link option

Magnus Therning magnus at therning.org
Tue Apr 26 04:43:36 EDT 2016


vakano <zhongle at proplussolution.com> writes:

> Hi, 
>
> I have some link option as below:
>
> -Wl, -rpath, ${PROJECT_TOP}/dist  ../proj_a/lib_a.a -lb -Wl, --whole-archive
> ../proj_c/lib_c.a

What have you tried?

/M

-- 
Magnus Therning              OpenPGP: 0x927912051716CE39
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

McBryan's Law: You can't make it better until you make it work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160426/f2dece0f/attachment.sig>


More information about the CMake mailing list