cling/lib/Interpreter/CMakeLists.txt
Vassil Vassilev a7261215a3 Add multiplex external sema source, which is a list of sema sources. When it is
used it dispatches the events to every element of the list of sources.

This is used because we want to have ASTDeclReader and our custom external source
catching LookupUnqualified callbacks, happening on failed lookup.


git-svn-id: http://root.cern.ch/svn/root/trunk@46317 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-04 15:47:10 +00:00

44 lines
771 B
CMake

set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
asmparser
bitreader
bitwriter
codegen
linker
support
mc
executionengine
target
jit
x86info
x86asmprinter
)
#set(LLVM_USED_LIBS
# clingWhatever
#)
add_cling_library(clingInterpreter
ASTDumper.cpp
ASTNodeEraser.cpp
CIFactory.cpp
DeclCollector.cpp
DeclExtractor.cpp
DynamicLookup.cpp
DynamicExprInfo.cpp
ExecutionContext.cpp
IncrementalParser.cpp
Interpreter.cpp
InvocationOptions.cpp
LookupHelper.cpp
MultiplexExternalSemaSource.cpp
Transaction.cpp
ValuePrinter.cpp
ValuePrinterInfo.cpp
ValuePrinterSynthesizer.cpp
)
#add_dependencies(clangDriver ClangAttrList ClangDiagnosticDriver
# ClangDriverOptions ClangCC1Options ClangCC1AsOptions)