[LLVMdev] building only libs with cmake

Óscar Fuentes ofv at wanadoo.es
Mon Oct 18 13:48:21 PDT 2010


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

> Now I have -DLLVM_INCLUDE_EXAMPLES:BOOL=OFF
> but Kaleidoscope is still there and selected for build
> (-G "Visual Studio 9 2008")

I just checked on VS 2010 and it removed the examples (including
Kaleidoscope) after reconfiguring with -DLLVM_INCLUDE_EXAMPLES=OFF.

Please check that:

 1. LLVM_INCLUDE_EXAMPLES is not mistyped (see the CMakeCache.txt file)

 2. The new VS files were reloaded by the IDE. (It asks some questions
 after reconfiguring, and if you don't answer the right thing, you may
 end with the old VS files.) For being 100% sure, close the solution,
 reconfigure with LLVM_INCLUDE_EXAMPLES=OFF and re-open it.

If none of the above works, there is a bug on CMake.




More information about the llvm-dev mailing list