Re: [cmake-developers] Using CMake to bootstrap clang builtins

2015-11-11 Thread Brad King
On 11/02/2015 04:19 PM, Chris Bieneman wrote: >> What we need is for try_compile to learn to check for some global >> option to be set by a toolchain or platform information module that >> tells it there is no linker. Then try_compile could handle this >> case by using add_library(... STATIC …). >

Re: [cmake-developers] Using CMake to bootstrap clang builtins

2015-11-02 Thread Chris Bieneman
> On Nov 2, 2015, at 11:52 AM, Brad King wrote: > > On 10/30/2015 03:05 PM, Chris Bieneman wrote: >> equivalent of try_compile that will test building a static archive >> instead of an executable? > > For the "source file" signature of try_compile there is currently > no such option. The try_c

Re: [cmake-developers] Using CMake to bootstrap clang builtins

2015-11-02 Thread Brad King
On 10/30/2015 03:05 PM, Chris Bieneman wrote: > equivalent of try_compile that will test building a static archive > instead of an executable? For the "source file" signature of try_compile there is currently no such option. The try_compile command also has a mode that builds an entire source tre

[cmake-developers] Using CMake to bootstrap clang builtins

2015-10-30 Thread Chris Bieneman
CMake-developers, An issue with our compiler-rt CMake builds came to my attention yesterday, and I’m wondering how to best deal with it. Compiler-rt is a bit of a special flower. One part of it is a bunch of runtime libraries, which are basically just dylibs and static archives, nothing to won