cling/lib/Interpreter/CMakeLists.txt

58 lines
1.1 KiB
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
AutoSynthesizer.cpp
CheckEmptyTransactionTransformer.cpp
CIFactory.cpp
ClangInternalState.cpp
DeclCollector.cpp
DeclExtractor.cpp
DynamicLibraryManager.cpp
DynamicLookup.cpp
DynamicExprInfo.cpp
ExecutionContext.cpp
IncrementalParser.cpp
Interpreter.cpp
InterpreterCallbacks.cpp
InvocationOptions.cpp
IRDumper.cpp
LookupHelper.cpp
NullDerefProtectionTransformer.cpp
RequiredSymbols.cpp
ReturnSynthesizer.cpp
RuntimeException.cpp
StoredValueRef.cpp
Transaction.cpp
TransactionTransformer.cpp
Value.cpp
ValuePrinter.cpp
ValuePrinterInfo.cpp
ValuePrinterSynthesizer.cpp
)
set_source_files_properties(RuntimeException.cpp COMPILE_FLAGS -fexceptions)
#add_dependencies(clangDriver ClangAttrList ClangDiagnosticDriver
# ClangDriverOptions ClangCC1Options ClangCC1AsOptions)