[PATCH] D13453: Always generate cmake config files

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 7 17:20:45 PDT 2015


chapuni requested changes to this revision.
chapuni added a comment.
This revision now requires changes to proceed.

This change requires cmake-3.

With CMake-2.8.12.2,

  CMake Error at /home/tnakamura/fio/ninja/llvm-project/clang/CMakeLists.txt:560 (export):
    export called with target "clangBasic" which requires target "LLVMCore"
    that is not in the export list.
  
    If the required target is not easy to reference in this call, consider
    using the APPEND option with multiple separate calls.

https://cmake.org/cmake/help/v3.0/release/3.0.0.html#commands

> The export() command learned to work with multiple dependent export sets, thus allowing multiple packages to be built and exported from a single tree. The feature requires CMake to wait until the generation step to write the output file. This means one should not include() the generated targets file later during project configuration because it will not be available. Use Alias Targets instead. See policy CMP0024.



http://reviews.llvm.org/D13453





More information about the cfe-commits mailing list