about summary refs log tree commit diff homepage
path: root/lib/Basic/CMakeLists.txt
blob: 78890ea6ec4aa4715d56cf060d8362748575b704 (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
#===------------------------------------------------------------------------===#
#
#                     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(kleeBasic
  ConstructSolverChain.cpp
  KTest.cpp
  Statistics.cpp
)
set(LLVM_COMPONENTS
  support
)

klee_get_llvm_libs(LLVM_LIBS ${LLVM_COMPONENTS})
target_link_libraries(kleeBasic PUBLIC ${LLVM_LIBS})

target_link_libraries(kleeBasic PRIVATE
  # FIXME: THIS IS STUPID.
  # `ConstructSolverChain.cpp` should be in
  # `kleaverSolver` not in in `kleeBasic`.
  # We are creating a circular dependency because
  # of this because `kleaverSolver` depends on `kleeBasic`.
  kleaverSolver
)