blob: 54c92137134f558b9cb18adcfe2f48408abbb9b0 (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/floatingpoint.h.in
${CMAKE_CURRENT_BINARY_DIR}/floatingpoint.h)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/rational.h.in
${CMAKE_CURRENT_BINARY_DIR}/rational.h)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/integer.h.in
${CMAKE_CURRENT_BINARY_DIR}/integer.h)
set(util_src_files
abstract_value.cpp
abstract_value.h
bin_heap.h
bitvector.cpp
bitvector.h
bool.h
cardinality.cpp
cardinality.h
channel.h
debug.h
dense_map.h
divisible.cpp
divisible.h
dynamic_array.h
floatingpoint.cpp
gmp_util.h
hash.h
index.cpp
index.h
maybe.h
ntuple.h
ostream_util.cpp
ostream_util.h
proof.h
random.cpp
random.h
regexp.cpp
regexp.h
resource_manager.cpp
resource_manager.h
result.cpp
result.h
safe_print.cpp
safe_print.h
sampler.cpp
sampler.h
sexpr.cpp
sexpr.h
smt2_quote_string.cpp
smt2_quote_string.h
statistics.cpp
statistics.h
statistics_registry.cpp
statistics_registry.h
tuple.h
unsafe_interrupt_exception.h
utility.h
)
if(CVC4_USE_CLN_IMP)
list(APPEND util_src_files rational_cln_imp.cpp integer_cln_imp.cpp)
endif()
if(CVC4_USE_GMP_IMP)
list(APPEND util_src_files rational_gmp_imp.cpp integer_gmp_imp.cpp)
endif()
add_library(util SHARED ${util_src_files})
set_target_properties(util PROPERTIES COMPILE_DEFINITIONS __BUILDING_CVC4LIB)
add_dependencies(util options)
|