[CMake] Apply ADDITIONAL_HEADERS introduced in r199639.

llvm-svn: 199640
This commit is contained in:
NAKAMURA Takumi 2014-01-20 10:24:05 +00:00
parent 6acf320a99
commit bf6d1efbba
3 changed files with 18 additions and 12 deletions

View File

@ -4,8 +4,10 @@ set(LLVM_LINK_COMPONENTS
add_clang_library(clangIndex add_clang_library(clangIndex
CommentToXML.cpp CommentToXML.cpp
SimpleFormatContext.h
USRGeneration.cpp USRGeneration.cpp
ADDITIONAL_HEADERS
SimpleFormatContext.h
) )
target_link_libraries(clangIndex target_link_libraries(clangIndex

View File

@ -5,8 +5,6 @@ set(LLVM_LINK_COMPONENTS
add_clang_library(clangSerialization add_clang_library(clangSerialization
ASTCommon.h
ASTReaderInternals.h
ASTCommon.cpp ASTCommon.cpp
ASTReader.cpp ASTReader.cpp
ASTReaderDecl.cpp ASTReaderDecl.cpp
@ -18,6 +16,10 @@ add_clang_library(clangSerialization
GlobalModuleIndex.cpp GlobalModuleIndex.cpp
Module.cpp Module.cpp
ModuleManager.cpp ModuleManager.cpp
ADDITIONAL_HEADERS
ASTCommon.h
ASTReaderInternals.h
) )
add_dependencies(clangSerialization add_dependencies(clangSerialization

View File

@ -9,32 +9,34 @@ set(SOURCES
CIndexCXX.cpp CIndexCXX.cpp
CIndexCodeCompletion.cpp CIndexCodeCompletion.cpp
CIndexDiagnostic.cpp CIndexDiagnostic.cpp
CIndexDiagnostic.h
CIndexHigh.cpp CIndexHigh.cpp
CIndexInclusionStack.cpp CIndexInclusionStack.cpp
CIndexUSRs.cpp CIndexUSRs.cpp
CIndexer.cpp CIndexer.cpp
CIndexer.h
CXComment.cpp CXComment.cpp
CXCursor.cpp CXCursor.cpp
CXCursor.h
CXCompilationDatabase.cpp CXCompilationDatabase.cpp
CXLoadedDiagnostic.cpp CXLoadedDiagnostic.cpp
CXLoadedDiagnostic.h
CXSourceLocation.cpp CXSourceLocation.cpp
CXSourceLocation.h
CXStoredDiagnostic.cpp CXStoredDiagnostic.cpp
CXString.cpp CXString.cpp
CXString.h
CXTranslationUnit.h
CXType.cpp CXType.cpp
CXType.h
IndexBody.cpp IndexBody.cpp
IndexDecl.cpp IndexDecl.cpp
IndexTypeSourceInfo.cpp IndexTypeSourceInfo.cpp
Index_Internal.h
Indexing.cpp Indexing.cpp
IndexingContext.cpp IndexingContext.cpp
ADDITIONAL_HEADERS
CIndexDiagnostic.h
CIndexer.h
CXCursor.h
CXLoadedDiagnostic.h
CXSourceLocation.h
CXString.h
CXTranslationUnit.h
CXType.h
Index_Internal.h
IndexingContext.h IndexingContext.h
../../include/clang-c/Index.h ../../include/clang-c/Index.h
) )