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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to