cling/tools/driver/CMakeLists.txt
2014-01-07 12:02:58 +01:00

49 lines
952 B
CMake

#------------------------------------------------------------------------------
# CLING - the C++ LLVM-based InterpreterG :)
#
# This file is dual-licensed: you can choose to license it under the University
# of Illinois Open Source License or the GNU Lesser General Public License. See
# LICENSE.TXT for details.
#------------------------------------------------------------------------------
set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
asmparser
bitreader
bitwriter
irreader
codegen
instrumentation
ipo
# linker
selectiondag
jit
native
)
add_cling_executable(cling
cling.cpp)
target_link_libraries(cling
clangAST
clangAnalysis
clangBasic
clangCodeGen
clangDriver
clangEdit
clangFrontend
clangLex
clangParse
clangSema
clangSerialization
clangStaticAnalyzerCore
clingUserInterface
clingMetaProcessor
clingInterpreter
clingUtils
)
install(TARGETS cling
RUNTIME DESTINATION bin)