[LLVMbugs] [Bug 9764] New: libc++ CMake header dependencies

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 20 19:52:43 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9764

           Summary: libc++ CMake header dependencies
           Product: libc++
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: hhinnant at apple.com
        ReportedBy: blelbach at cct.lsu.edu
                CC: llvmbugs at cs.uiuc.edu


Adding headers as library dependencies in CMake is the only way to get header
files to appear in source groups for Visual Studio. However, it screws up
dependency scanning, which is not desirable for Makefile generation. Also,
types.h causes problems:

-- Configuring done
CMake Error in tools/clang/runtime/libcxx/lib/CMakeLists.txt:
  Cannot find source file "types.h".  Tried extensions .c .C .c++ .cc .cpp
  .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


-- Build files have been written to:
/home/wash/lll/build/bootstrap/toolchain/llvm-cmake

Header files should only be made to depend on the libc++ CMake target for
Visual Studio generation. This can be detected with the MSVC CMake variable.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list