[LLVMdev] [cfe-dev] is configure+make dead yet?

Stephen Kelly steveire at gmail.com
Wed Jun 27 05:55:00 PDT 2012


Mason Wheeler wrote:

>>From: David Röthlisberger <david at rothlis.net>
>>Subject: Re: [LLVMdev] [cfe-dev] is configure+make dead yet?
>>
>>If the following statement is true, then which build system to choose
>>is a no-brainer:
> 
>>> cmake, while ugly, can be made to support all of our use cases. There
>>> are some use cases that autoconf+make can't support
>>-- Chandler Carruth, On 21 Jun 2012, at 01:19
> 
> Unfortunately,
>  when CMake is not even capable of one of the most fundamental tasks
> that anyone would care to use LLVM for, namely setting up project files
> to build LLVM as a DLL so they can build a compiler atop it, it can
> hardly be said to support all use cases!

What if you pass the command line option -DBUILD_SHARED_LIBS to cmake?

For me that builds shared libs, and the description says it does too.


stephen at hal:~/dev/src/llvm/build{master}$ cmake -i ..
Would you like to see advanced options? [No]:
Please wait while cmake processes CMakeLists.txt files....



Variable Name: BUG_REPORT_URL
Description: Default URL where bug reports are to be submitted.
Current Value: http://llvm.org/bugs/
New Value (Enter to keep current value): 

Variable Name: BUILD_SHARED_LIBS
Description: Build all libraries as shared libraries instead of static
Current Value: OFF
New Value (Enter to keep current value): 





More information about the llvm-dev mailing list