[CMake] How to convert global and local link option from make to cmake

vakano zhongle at proplussolution.com
Tue Apr 19 09:15:10 EDT 2016


Hi, 

I got a global and local link options mixed project which need to convert
from make to cmake,

eg as below(option with Bold): 

${LINK.cc} -Wl,-E -o dist/main ${OBJECTFILES} ${LDLIBSOPTIONS}

LDLIBOPTIONS= *-Wl,-rpath,* {PROJECT_TOP}/dist/Debug_64/GNU-linux-x86
../proj_a/lib_a.a

../proj_b/lib_b.a *-lsuperlu_4.0 ${MKLBLAS} -Wl, --whole-archive*
../proj_c/lib_c.a                      

*-lSuiteSparse -lsobol*

How to convert the whole link option to cmake with these global and local
link option?

Thanks,
vakano



--
View this message in context: http://cmake.3232098.n2.nabble.com/How-to-convert-global-and-local-link-option-from-make-to-cmake-tp7593285.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list