[LLVMdev] Cmake and pass

Óscar Fuentes ofv at wanadoo.es
Mon Nov 9 07:36:31 PST 2009


mg <mariusz.grad at googlemail.com> writes:

> Is it possible to generate pass (shared object) from Cmake?

?

Please name the library or libraries you want to build as shared
objects.

> I tried to use add_llvm_library() however it produces only static
> libs.

As mentioned on http://www.llvm.org/docs/CMake.html :

cmake -DBUILD_SHARED_LIBS=ON path/to/llvm/source

This builds all LLVM libraries as shared objects, though.

-- 
Óscar




More information about the llvm-dev mailing list