aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-07 07:09:23 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-07 07:09:23 +0000
commit06026000b1e88a799ed010c88131b549cbbe4f56 (patch)
treeec8c4e939fc77d666f35f9f1242172b84d642c05
parent61d004a12eba93df9d393c80a6836d20bc0b1be5 (diff)
CMake: Install Clang's headers into the right place in the build tree, for regression testing
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73014 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Headers/CMakeLists.txt23
1 files changed, 16 insertions, 7 deletions
diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt
index 3c42167e5a..e44c37aabc 100644
--- a/lib/Headers/CMakeLists.txt
+++ b/lib/Headers/CMakeLists.txt
@@ -1,12 +1,21 @@
set(files
- iso646.h
- mmintrin.h
- stdarg.h
- stdbool.h
- stddef.h
- )
+ emmintrin.h
+ float.h
+ iso646.h
+ limits.h
+ mm_malloc.h
+ mmintrin.h
+ pmmintrin.h
+ stdarg.h
+ stdbool.h
+ stddef.h
+ stdint.h
+ tgmath.h
+ tmmintrin.h
+ xmmintrin.h)
-set(output_dir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/../Headers)
+#FIXME: Centralize Clang version info
+set(output_dir ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib/clang/1.0/include)
foreach( f ${files} )
set( src ${CMAKE_CURRENT_SOURCE_DIR}/${f} )