blob: 22fd3c074afdcb1ad0bcbc66e2217db8d2921c7f (
plain) (
blame)
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
|
#===------------------------------------------------------------------------===#
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
#===------------------------------------------------------------------------===#
klee_add_component(kleeModule
Checks.cpp
InstructionInfoTable.cpp
IntrinsicCleaner.cpp
KInstruction.cpp
KModule.cpp
LowerSwitch.cpp
ModuleUtil.cpp
Optimize.cpp
PhiCleaner.cpp
RaiseAsm.cpp
)
set(LLVM_COMPONENTS
bitreader
bitwriter
ipo
linker
support
)
if ("${LLVM_PACKAGE_VERSION}" VERSION_EQUAL "3.3" OR
"${LLVM_PACKAGE_VERSION}" VERSION_GREATER "3.3")
list(APPEND LLVM_COMPONENTS irreader)
endif()
klee_get_llvm_libs(LLVM_LIBS ${LLVM_COMPONENTS})
target_link_libraries(kleeModule PUBLIC ${LLVM_LIBS})
|