Re: [CMake] How to set link option

2016-04-27 Thread vakano
I think the variable CMAKE_EXE_LINKER_FLAGS or LINK_FLAGS may work, but since my project have some other issues, I have not reached to link steps. Thanks, Le Magnus Therning wrote > vakano < > zhongle@ > > writes: > >> Hi, >> >> I have some link option as below: >> >> -Wl, -rpath, ${PROJECT

Re: [CMake] How to set link option

2016-04-26 Thread Magnus Therning
vakano 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: mag...@therning.org jabber: mag...@the

[CMake] How to set link option

2016-04-21 Thread vakano
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 Thanks, Le -- View this message in context: http://cmake.3232098.n2.nabble.com/How-to-set-link-option-tp7593307.html Sent from the CMake mailing list archiv