[LLVMdev] Some CMake issues (Are you being served?)

David Chisnall David.Chisnall at cl.cam.ac.uk
Mon Feb 3 06:56:46 PST 2014


On 2 Feb 2014, at 17:42, NAKAMURA Takumi <geek4civic at gmail.com> wrote:

>> 6) If you create a proper config file, then you can populate it with
>> IMPORTED targets and use it in clang. IMPORTED targets record dependencies
>> and usage requirements (when you start requiring CMake 2.8.9+ at least)
>> properly.
>> 
>> http://www.cmake.org/cmake/help/git-master/manual/cmake-buildsystem.7.html#imported-targets
> 
> Most of us are building clang in llvm build tree.
> Aka "standalone clang" could be supposed as w-i-p.
> I think other projects could be good studies for external cmake build.

Just to add, the ability to build clang against an installed LLVM tree would make it significantly easier for the FreeBSD LLVM and Clang ports to switch to using CMake.  This would make us very happy, as our build infrastructure automatically uses Ninja by default for CMake ports, so we'd get a nice speedup on package builds.

David





More information about the llvm-dev mailing list