[Lldb-commits] [PATCH] D13535: Fix cmake build on OSX after r249434.

Dawn Perchik via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 8 05:59:56 PDT 2015


dawn added a comment.

In http://reviews.llvm.org/D13535#262672, @brucem wrote:

> I don't know what's broken for you. My build hasn't had any issues on Mac OS X using cmake.


In a clean workspace, cmake would fail because LLDB_vers.c hadn't been created yet.  You get the error:

  CMake Error at cmake/modules/AddLLVM.cmake:401 (add_library):
    Cannot find source file:
  
      /Users/testuser/build/workspace/LLVM-Clang-LLDB_master_release_OSX/llvm/build_ninja/tools/lldb/source/LLDB_vers.c
  
    Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
    .hxx .in .txx
  Call Stack (most recent call first):
    tools/lldb/cmake/modules/AddLLDB.cmake:59 (llvm_add_library)
    tools/lldb/source/API/CMakeLists.txt:9 (add_lldb_library)


Repository:
  rL LLVM

http://reviews.llvm.org/D13535





More information about the lldb-commits mailing list