about summary refs log tree commit diff homepage
path: root/lib/Basic/CMakeLists.txt
blob: d0a309c9692135016597d1959b767af4330d5345 (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
#===------------------------------------------------------------------------===#
#
#                     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
  CmdLineOptions.cpp
  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
)