[lldb-dev] cmake errors with lldb on Windows 7

Colin Riley colin at codeplay.com
Wed Dec 11 06:32:02 PST 2013


Hi Yaron,

Ive not tried latest svn in about a week so cannot comment on the 
LINK_ONLY issue you have just yet, but you need to use the latest Visual 
Studio 12 generator - VS11 does not have the required cxx11 features to 
compile trunk. I'm using cmake 2.8.12.1.

Also, lldb on windows is only the frontend driver+core, as to allow for 
remote debugging. There is no (full) windows platform for local 
debugging just yet.

I'll try to grab svn latest and build now.

Colin

On 11/12/2013 14:21, Yaron Keren wrote:
> Hi,
>
> 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.
>
> Before checking out lldb the llvm+clang projects build OK.
> After checking out lldb into tools\lldb, cmake fails on lldb 
> CMakeLists.txt:
>
> cmake -G "Visual Studio 11" -D LLVM_TARGETS_TO_BUILD=X86 -D 
> LLVM_ENABLE_ASSERTIONS=1  ..
>
> errors:
>
> -- Configuring done
> CMake Error:
>   Error evaluating generator expression:
>
> $<LINK_ONLY:-Wl,--start-group>
>
> $<LINK_ONLY> expression requires exactly one parameter.
>
>
> CMake Warning (dev) in tools/lldb/source/CMakeLists.txt:
>   Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
> interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
> cmake_policy command to set the policy and suppress this warning.
>
>   Static library target "liblldb" has a INTERFACE_LINK_LIBRARIES property.
>   This should be preferred as the source of the link interface for this
>   library.  Ignoring the property and using the link implementation as the
>   link interface instead.
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> should this error be ignored or fixed somehow?
>
> Yaron
>
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


-- 
Colin Riley

Codeplay Software Ltd
45 York Place, Edinburgh, EH1 3HP
Phone: +44 131 466 0503
Fax: +44 131 557 6600
Website: http://www.codeplay.com
Twitter: @codeplaysoft

This email and any attachments may contain confidential and /or privileged information and  is for use  by the addressee only. If you are not the intended recipient, please notify Codeplay Software Ltd immediately and delete the message from your computer. You may not copy or forward it,or use or disclose its contents to any other person. Any views or other information in this message which do not relate to our business are not authorized by Codeplay software Ltd, nor does this message form part of any contract unless so stated.
As internet communications are capable of data corruption Codeplay Software Ltd does not accept any responsibility for any changes made to this message after it was sent. Please note that Codeplay Software Ltd does not accept any liability or responsibility for viruses and it is your responsibility to scan any attachments.
Company registered in England and Wales, number: 04567874
Registered office: 81 Linkfield Street, Redhill RH1 6BY

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131211/7cdf8007/attachment.html>


More information about the lldb-dev mailing list