[LLVMdev] Using thin archives when building llvm (original) (raw)

Brad King brad.king at kitware.com
Mon Jul 20 06:00:12 PDT 2015


On 07/17/2015 02:44 PM, Rafael EspĂ­ndola wrote:

Setting CMAKECXXCREATESTATICLIBRARY works on OS X and linux, but on windows I still see a call to "lld-link2 /lib..." when CMAKECXXCREATESTATICLIBRARY is set to use llvm-lib.

What CMake generator are you using on Windows? These command-line rule variables are implementation details of the Makefile and Ninja generators only. For the VS IDE project files msbuild constructs the actual command lines.

-Brad



More information about the llvm-dev mailing list