[cfe-dev] Unknown CMake command 'Add-llvm-library'

Jordan Rose jordan_rose at apple.com
Mon Feb 25 16:31:13 PST 2013


Are you building Clang relative to LLVM as described in http://clang.llvm.org/get_started.html? Even for CMake, Clang has to be in llvm/tools/, or you need to specify CLANG_PATH_TO_LLVM_BUILD and CLANG_PATH_TO_LLVM_SOURCE.



On Feb 25, 2013, at 16:16 , "Czarnek, Matt" <mczarnek at objectvideo.com> wrote:

> Hello,
> 
> I'm trying to compile Clang and it seems like the error that is currently tripping up the compilation is: Unknown CMake command 'Add-llvm-library'  Something I came across online was suggesting that it needed to add the package 'llvm' before calling that command. 
> 
> I'm just using the most update build as pulled from the website.  Any thoughts?
> 
> Thank you,
> Matt
> 
> -- 
> Matt Czarnek, Software Engineer
> Work Phone:  (760) 4-OBJVID   
>              aka:  (760) 462-5843
> 
> Cell Phone: HAHAHOORAY
> 
> ObjectVideo Inc.
> http://www.objectvideo.com
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130225/03ab74a9/attachment.html>


More information about the cfe-dev mailing list