[LLVMdev] Why is llvm/Config/config.h not being installed any more with cmake in LLVM 3.5?
Duncan P. N. Exon Smith
dexonsmith at apple.com
Tue Sep 30 09:31:06 PDT 2014
> On Sep 30, 2014, at 8:15 AM, Zvonimir Rakamaric <zvonimir at cs.utah.edu> wrote:
>
> Hi,
>
> So when I look at CMakeLists.txt in LLVM 3.5, I can observes this on line 591:
> PATTERN "config.h" EXCLUDE
>
> Note that this line is not present in LLVM 3.4.
>
> This causes config.h not to be copied into
> include/llvm/Config/config.h, which is unlike previous LLVM versions.
> This is turn causes my project to fail when trying to build it with
> cmake...
>
> Why is config.h not being copied over any more when using cmake?
>
> Is this expected behavior?
>
> Thanks,
> -- Zvonimir
`git blame` tells me this was r210766:
CMake: don't install the internal config.h header
Background:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-June/073707.html
You should transition to `llvm/Config/llvm-config.h`.
More information about the llvm-dev
mailing list