[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release

Brad King brad.king at kitware.com
Mon Jul 21 06:55:57 PDT 2014


On 07/20/2014 06:22 AM, Dan Liew wrote:
> Would you mind if I implemented this by having code in
> LLVMConfig.cmake that actually reads the $<TARGET_FILE_DIR:opt>
> variable to set LLVM_TOOLS_DIR?

You can't do that because the generator expression is not evaluated
during configuration.  You need to configure the actual value.  We
already configure include directories.

-Brad




More information about the llvm-dev mailing list