CMake: Install .inc files too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2009-10-27 20:04:22 +00:00
parent 1d7c43b7e7
commit a2281e72dc

View File

@ -324,6 +324,7 @@ install(DIRECTORY include/
FILES_MATCHING FILES_MATCHING
PATTERN "*.h" PATTERN "*.h"
PATTERN "*.td" PATTERN "*.td"
PATTERN "*.inc"
PATTERN ".svn" EXCLUDE PATTERN ".svn" EXCLUDE
) )
@ -333,6 +334,7 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
PATTERN "*.def" PATTERN "*.def"
PATTERN "*.h" PATTERN "*.h"
PATTERN "*.gen" PATTERN "*.gen"
PATTERN "*.inc"
# Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by "*.def" # Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by "*.def"
PATTERN "CMakeFiles" EXCLUDE PATTERN "CMakeFiles" EXCLUDE
PATTERN ".svn" EXCLUDE PATTERN ".svn" EXCLUDE