[CMake] Problem compiling clang on cygwin, library prefix mismatch

Nils Gladitz nilsgladitz at gmail.com
Fri Sep 19 05:24:16 EDT 2014


On 09/19/2014 11:17 AM, Guilherme wrote:
> The output i see on the command line is:
>
> make[2]: *** No rule to make target 'lib/libLLVMSupport.dll.a', needed
> by 'bin/cygLLVMLineEditor.dll'.  Stop.
>
> Well i'm trying to build all as shared.

So it is correctly looking for the import library libLLVMSupport.dll.a 
rather than directly for cygLLVMSupport.dll.

What does the add_library() call for LLVMSupport look like?

How does LLVMLineEditor link to LLVMSupport?
e.g. what does the target_link_libraries() call look like?

Nils


More information about the CMake mailing list