forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
36 lines (30 loc) · 840 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#------------------------------------------------------------------------------
# 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.
#------------------------------------------------------------------------------
# Keep symbols for JIT resolution
set(LLVM_NO_DEAD_STRIP 1)
add_cling_executable(cling
cling.cpp)
set_target_properties(cling
PROPERTIES ENABLE_EXPORTS 1)
target_link_libraries(cling
clangAST
clangBasic
clangCodeGen
clangDriver
clangFrontend
clangLex
clangParse
clangSema
clangSerialization
clingUserInterface
clingMetaProcessor
clingInterpreter
clingUtils
)
install(TARGETS cling
RUNTIME DESTINATION bin)