[LLVMdev] building only libs with cmake

Óscar Fuentes ofv at wanadoo.es
Mon Oct 18 15:29:25 PDT 2010


Jochen Wilhelmy <j.wilhelmy at arcor.de> writes:

>>> Now I'm using LLVM_BUILD_EXAMPLES=OFF and I have 
>>>
>>> //Build LLVM example programs.
>>> LLVM_BUILD_EXAMPLES:BOOL=OFF
>>>
>>> in the cmakecache.txt file but it also does not seem to
>>> work.
>>>     
>>
>> What that means? LLVM_BUILD_EXAMPLES shall create build targets for the
>> examples but do not build them when you build the ALL_BUILD target.
>>   
>
> The targets are present (that's ok) but are selected for build in the
> configuration manager.

AFAIK, on the IDE you must build the ALL_BUILD target only, unless you
want to compile everything. If you want more details, please ask on the
cmake ml.



More information about the llvm-dev mailing list