search for: dcmake_cxx_create_static_library

Displaying 2 results from an estimated 2 matches for "dcmake_cxx_create_static_library".

2015 Jul 22
2
[LLVMdev] Using thin archives when building llvm
...gt; I was using ninja for windows too. > > Where does lld-link2 get chosen? CMake doesn't have code for that > name so something else in your project must be specifying it somehow. Yes, the simplest way to reproduce the problem is to run mkdir build cd build cmake ..\llvm -G Ninja -DCMAKE_CXX_CREATE_STATIC_LIBRARY=foobar -DCMAKE_LINKER=c:\users\espindola\llvm\inst\bin\lld-link2 and then ninja -v lib\LLVMSupport.lib I would expect it to fail trying to run foobar, but it works by running lld-link2 Cheers, Rafael
2015 Jul 20
2
[LLVMdev] Using thin archives when building llvm
On 20 July 2015 at 09:00, Brad King <brad.king at kitware.com> wrote: > On 07/17/2015 02:44 PM, Rafael EspĂ­ndola wrote: >> Setting CMAKE_CXX_CREATE_STATIC_LIBRARY works on OS X and linux, but >> on windows I still see a call to "lld-link2 /lib..." when >> CMAKE_CXX_CREATE_STATIC_LIBRARY is set to use llvm-lib. > > What CMake generator are you using on