<div dir="rtl"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">I am not sure if lldb is supposed to work on Windows. I am using cmake 2.8.12 with latest svn lldb, llvm, clang. </div><div dir="ltr"><br></div>
<div dir="ltr">Before checking out lldb the llvm+clang projects build OK.</div><div dir="ltr">After checking out lldb into tools\lldb, cmake fails on lldb CMakeLists.txt:</div><div dir="ltr"><br></div><div dir="ltr"><font face="courier new, monospace">cmake -G "Visual Studio 11" -D LLVM_TARGETS_TO_BUILD=X86 -D LLVM_ENABLE_ASSERTIONS=1 ..<br>
</font></div><div dir="ltr"><br></div><div dir="ltr">errors:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"><font face="courier new, monospace">-- Configuring done</font></div><div dir="ltr"><font face="courier new, monospace">CMake Error:</font></div>
<div dir="ltr"><font face="courier new, monospace"> Error evaluating generator expression:</font></div><div dir="ltr"><font face="courier new, monospace"><br></font></div><div dir="ltr"><font face="courier new, monospace"> $<LINK_ONLY:-Wl,--start-group></font></div>
<div dir="ltr"><font face="courier new, monospace"><br></font></div><div dir="ltr"><font face="courier new, monospace"> $<LINK_ONLY> expression requires exactly one parameter.</font></div><div dir="ltr"><font face="courier new, monospace"><br>
</font></div><div dir="ltr"><font face="courier new, monospace"><br></font></div><div dir="ltr"><font face="courier new, monospace">CMake Warning (dev) in tools/lldb/source/CMakeLists.txt:</font></div><div dir="ltr"><font face="courier new, monospace"> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link</font></div>
<div dir="ltr"><font face="courier new, monospace"> interface. Run "cmake --help-policy CMP0022" for policy details. Use the</font></div><div dir="ltr"><font face="courier new, monospace"> cmake_policy command to set the policy and suppress this warning.</font></div>
<div dir="ltr"><font face="courier new, monospace"><br></font></div><div dir="ltr"><font face="courier new, monospace"> Static library target "liblldb" has a INTERFACE_LINK_LIBRARIES property.</font></div><div dir="ltr">
<font face="courier new, monospace"> This should be preferred as the source of the link interface for this</font></div><div dir="ltr"><font face="courier new, monospace"> library. Ignoring the property and using the link implementation as the</font></div>
<div dir="ltr"><font face="courier new, monospace"> link interface instead.</font></div><div dir="ltr"><font face="courier new, monospace">This warning is for project developers. Use -Wno-dev to suppress it.</font></div>
<div><br></div><div>should this error be ignored or fixed somehow?</div><div><br></div><div>Yaron</div><div><br></div></div></div>