search for: dcmake_static_linker_flag

Displaying 3 results from an estimated 3 matches for "dcmake_static_linker_flag".

2015 Jul 22
2
[LLVMdev] Using thin archives when building llvm
> The Modules/Platform/Windows-MSVC.cmake module unconditionally > sets CMAKE_CXX_CREATE_STATIC_LIBRARY and uses CMAKE_LINKER. > As mentioned earlier the CMAKE_<LANG>_CREATE_STATIC_LIBRARY > and similar variables are internal implementation details > that are not meant to be set by users or project code. That > is why the above works only on certain platforms. > >
2015 Jul 22
2
[LLVMdev] Using thin archives when building llvm
> I was able to get this to work on windows by using > > -DCMAKE_STATIC_LINKER_FLAGS=/llvmlibthin And with r242926 it looks like the new lld just works with thin archives on windows :-) Cheers, Rafael
2014 Apr 10
2
[LLVMdev] CMake configuration: Detecting zlib.h header in windows.
Hi, I have having hard time to let cmake configuration detect the zlib header in windows with "Visual Studio 12" generator. My cmake configuration goes like >> Set path, include and lib environment variables to point to zlib headers and libraries. Cmake version is 2.8.12.2 cmake -G "Visual Studio 12" -D LLVM_TARGETS_TO_BUILD:STRING=%TARG% -D