Displaying 1 result from an estimated 1 matches for "clangtargets".
Did you mean:
clang_target
2017 Dec 01
2
CMake executable dependency woes
...CC beanz for CMake advice),
I stumbled into an issue with LLVM_DISTRIBUTION_COMPONENTS. The simplest way
to reproduce is to run a configure with `-DLLVM_DISTRIBUTION_COMPONENTS=clang`.
This should show lots of errors of the following form:
CMake Error: install(EXPORT "ClangTargets" ...) includes target "clang" which requires target "LLVMAArch64CodeGen" that is not in the export set.
The issue is that we add dependencies to executables using the legacy
target_link_libraries signature, which marks the dependencies as public (i.e.
they...