CMake: Have generated Xcode projects also contain the LLVM header files.
authorTed Kremenek <kremenek@apple.com>
Wed, 1 Apr 2009 15:40:21 +0000 (15:40 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 1 Apr 2009 15:40:21 +0000 (15:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68206 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CMakeLists.txt

index ab5f5b7de7599b35c3081644e1e6684a6597ecab..5e4f40881d00ed4caaff0caaa1520f2547f6f197 100644 (file)
@@ -7,7 +7,7 @@ add_custom_target(intrinsics_gen ALL
 
 set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} intrinsics_gen PARENT_SCOPE)
 
-if( MSVC_IDE )
+if( MSVC_IDE OR XCODE )
   # Creates a dummy target containing all headers for the benefit of
   # Visual Studio users.
   file(GLOB_RECURSE headers *.h)