How to set linker in cmake of llvm project?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to set linker in cmake of llvm project?

gamma_chen
I build the newest llvm from svn on iMac by set compiler and compiler flag as follows,

cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS=-std=c++11\ -stdlib=libc++ -DCMAKE_BUILD_TYPE=Debug -G "Xcode"

But how to set LINK to clang++? The default is ld in Xcode of llvm project.

Jonathan


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev