New C++ Api: Move checks to separate file. (#6138)
[cvc5.git] / src / CMakeLists.txt
1 #####################
2 ## CMakeLists.txt
3 ## Top contributors (to current version):
4 ## Mathias Preiner, Andrew Reynolds, Gereon Kremer
5 ## This file is part of the CVC4 project.
6 ## Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
7 ## in the top-level source directory and their institutional affiliations.
8 ## All rights reserved. See the file COPYING in the top-level source
9 ## directory for licensing information.
10 ##
11 #-----------------------------------------------------------------------------#
12 # Collect libcvc4 source files
13
14 libcvc4_add_sources(
15 api/checks.h
16 api/cvc4cpp.cpp
17 api/cvc4cpp.h
18 api/cvc4cppkind.h
19 context/backtrackable.h
20 context/cddense_set.h
21 context/cdhashmap.h
22 context/cdhashmap_forward.h
23 context/cdhashset.h
24 context/cdhashset_forward.h
25 context/cdinsert_hashmap.h
26 context/cdinsert_hashmap_forward.h
27 context/cdlist.h
28 context/cdlist_forward.h
29 context/cdmaybe.h
30 context/cdo.h
31 context/cdqueue.h
32 context/cdtrail_queue.h
33 context/context.cpp
34 context/context.h
35 context/context_mm.cpp
36 context/context_mm.h
37 decision/decision_attributes.h
38 decision/decision_engine.cpp
39 decision/decision_engine.h
40 decision/decision_strategy.h
41 decision/justification_heuristic.cpp
42 decision/justification_heuristic.h
43 lib/clock_gettime.c
44 lib/clock_gettime.h
45 lib/ffs.c
46 lib/ffs.h
47 lib/replacements.h
48 lib/strtok_r.c
49 lib/strtok_r.h
50 preprocessing/assertion_pipeline.cpp
51 preprocessing/assertion_pipeline.h
52 preprocessing/passes/ackermann.cpp
53 preprocessing/passes/ackermann.h
54 preprocessing/passes/apply_substs.cpp
55 preprocessing/passes/apply_substs.h
56 preprocessing/passes/bool_to_bv.cpp
57 preprocessing/passes/bool_to_bv.h
58 preprocessing/passes/bv_abstraction.cpp
59 preprocessing/passes/bv_abstraction.h
60 preprocessing/passes/bv_eager_atoms.cpp
61 preprocessing/passes/bv_eager_atoms.h
62 preprocessing/passes/bv_gauss.cpp
63 preprocessing/passes/bv_gauss.h
64 preprocessing/passes/bv_intro_pow2.cpp
65 preprocessing/passes/bv_intro_pow2.h
66 preprocessing/passes/bv_to_bool.cpp
67 preprocessing/passes/bv_to_bool.h
68 preprocessing/passes/bv_to_int.cpp
69 preprocessing/passes/bv_to_int.h
70 preprocessing/passes/extended_rewriter_pass.cpp
71 preprocessing/passes/extended_rewriter_pass.h
72 preprocessing/passes/foreign_theory_rewrite.cpp
73 preprocessing/passes/foreign_theory_rewrite.h
74 preprocessing/passes/fun_def_fmf.cpp
75 preprocessing/passes/fun_def_fmf.h
76 preprocessing/passes/global_negate.cpp
77 preprocessing/passes/global_negate.h
78 preprocessing/passes/ho_elim.cpp
79 preprocessing/passes/ho_elim.h
80 preprocessing/passes/int_to_bv.cpp
81 preprocessing/passes/int_to_bv.h
82 preprocessing/passes/ite_removal.cpp
83 preprocessing/passes/ite_removal.h
84 preprocessing/passes/ite_simp.cpp
85 preprocessing/passes/ite_simp.h
86 preprocessing/passes/miplib_trick.cpp
87 preprocessing/passes/miplib_trick.h
88 preprocessing/passes/nl_ext_purify.cpp
89 preprocessing/passes/nl_ext_purify.h
90 preprocessing/passes/non_clausal_simp.cpp
91 preprocessing/passes/non_clausal_simp.h
92 preprocessing/passes/pseudo_boolean_processor.cpp
93 preprocessing/passes/pseudo_boolean_processor.h
94 preprocessing/passes/quantifier_macros.cpp
95 preprocessing/passes/quantifier_macros.h
96 preprocessing/passes/quantifiers_preprocess.cpp
97 preprocessing/passes/quantifiers_preprocess.h
98 preprocessing/passes/real_to_int.cpp
99 preprocessing/passes/real_to_int.h
100 preprocessing/passes/rewrite.cpp
101 preprocessing/passes/rewrite.h
102 preprocessing/passes/sep_skolem_emp.cpp
103 preprocessing/passes/sep_skolem_emp.h
104 preprocessing/passes/sort_infer.cpp
105 preprocessing/passes/sort_infer.h
106 preprocessing/passes/static_learning.cpp
107 preprocessing/passes/static_learning.h
108 preprocessing/passes/strings_eager_pp.cpp
109 preprocessing/passes/strings_eager_pp.h
110 preprocessing/passes/sygus_inference.cpp
111 preprocessing/passes/sygus_inference.h
112 preprocessing/passes/synth_rew_rules.cpp
113 preprocessing/passes/synth_rew_rules.h
114 preprocessing/passes/theory_preprocess.cpp
115 preprocessing/passes/theory_preprocess.h
116 preprocessing/passes/theory_rewrite_eq.cpp
117 preprocessing/passes/theory_rewrite_eq.h
118 preprocessing/passes/unconstrained_simplifier.cpp
119 preprocessing/passes/unconstrained_simplifier.h
120 preprocessing/preprocessing_pass.cpp
121 preprocessing/preprocessing_pass.h
122 preprocessing/preprocessing_pass_context.cpp
123 preprocessing/preprocessing_pass_context.h
124 preprocessing/preprocessing_pass_registry.cpp
125 preprocessing/preprocessing_pass_registry.h
126 preprocessing/util/ite_utilities.cpp
127 preprocessing/util/ite_utilities.h
128 printer/ast/ast_printer.cpp
129 printer/ast/ast_printer.h
130 printer/cvc/cvc_printer.cpp
131 printer/cvc/cvc_printer.h
132 printer/let_binding.cpp
133 printer/let_binding.h
134 printer/printer.cpp
135 printer/printer.h
136 printer/smt2/smt2_printer.cpp
137 printer/smt2/smt2_printer.h
138 printer/tptp/tptp_printer.cpp
139 printer/tptp/tptp_printer.h
140 proof/clause_id.h
141 proof/cnf_proof.cpp
142 proof/cnf_proof.h
143 proof/proof_manager.cpp
144 proof/proof_manager.h
145 proof/sat_proof.h
146 proof/sat_proof_implementation.h
147 proof/unsat_core.cpp
148 proof/unsat_core.h
149 prop/bv_sat_solver_notify.h
150 prop/bvminisat/bvminisat.cpp
151 prop/bvminisat/bvminisat.h
152 prop/bvminisat/core/Dimacs.h
153 prop/bvminisat/core/Solver.cc
154 prop/bvminisat/core/Solver.h
155 prop/bvminisat/core/SolverTypes.h
156 prop/bvminisat/mtl/Alg.h
157 prop/bvminisat/mtl/Alloc.h
158 prop/bvminisat/mtl/Heap.h
159 prop/bvminisat/mtl/IntTypes.h
160 prop/bvminisat/mtl/Map.h
161 prop/bvminisat/mtl/Queue.h
162 prop/bvminisat/mtl/Sort.h
163 prop/bvminisat/mtl/Vec.h
164 prop/bvminisat/mtl/XAlloc.h
165 prop/bvminisat/simp/SimpSolver.cc
166 prop/bvminisat/simp/SimpSolver.h
167 prop/bvminisat/utils/Options.h
168 prop/cadical.cpp
169 prop/cadical.h
170 prop/cnf_stream.cpp
171 prop/cnf_stream.h
172 prop/cryptominisat.cpp
173 prop/cryptominisat.h
174 prop/kissat.cpp
175 prop/kissat.h
176 prop/proof_cnf_stream.cpp
177 prop/proof_cnf_stream.h
178 prop/minisat/core/Dimacs.h
179 prop/minisat/core/Solver.cc
180 prop/minisat/core/Solver.h
181 prop/minisat/core/SolverTypes.h
182 prop/minisat/minisat.cpp
183 prop/minisat/minisat.h
184 prop/minisat/mtl/Alg.h
185 prop/minisat/mtl/Alloc.h
186 prop/minisat/mtl/Heap.h
187 prop/minisat/mtl/IntTypes.h
188 prop/minisat/mtl/Map.h
189 prop/minisat/mtl/Queue.h
190 prop/minisat/mtl/Sort.h
191 prop/minisat/mtl/Vec.h
192 prop/minisat/mtl/XAlloc.h
193 prop/minisat/simp/SimpSolver.cc
194 prop/minisat/simp/SimpSolver.h
195 prop/minisat/utils/Options.h
196 prop/proof_post_processor.cpp
197 prop/proof_post_processor.h
198 prop/prop_engine.cpp
199 prop/prop_engine.h
200 prop/prop_proof_manager.cpp
201 prop/prop_proof_manager.h
202 prop/registrar.h
203 prop/sat_solver.h
204 prop/sat_proof_manager.cpp
205 prop/sat_proof_manager.h
206 prop/sat_solver_factory.cpp
207 prop/sat_solver_factory.h
208 prop/sat_solver_types.cpp
209 prop/sat_solver_types.h
210 prop/theory_proxy.cpp
211 prop/theory_proxy.h
212 smt/abduction_solver.cpp
213 smt/abduction_solver.h
214 smt/abstract_values.cpp
215 smt/abstract_values.h
216 smt/assertions.cpp
217 smt/assertions.h
218 smt/check_models.cpp
219 smt/check_models.h
220 smt/command.cpp
221 smt/command.h
222 smt/defined_function.h
223 smt/dump.cpp
224 smt/dump.h
225 smt/dump_manager.cpp
226 smt/dump_manager.h
227 smt/env.cpp
228 smt/env.h
229 smt/expand_definitions.cpp
230 smt/expand_definitions.h
231 smt/listeners.cpp
232 smt/listeners.h
233 smt/logic_exception.h
234 smt/interpolation_solver.cpp
235 smt/interpolation_solver.h
236 smt/managed_ostreams.cpp
237 smt/managed_ostreams.h
238 smt/model.cpp
239 smt/model.h
240 smt/model_core_builder.cpp
241 smt/model_core_builder.h
242 smt/model_blocker.cpp
243 smt/model_blocker.h
244 smt/node_command.cpp
245 smt/node_command.h
246 smt/optimization_solver.cpp
247 smt/optimization_solver.h
248 smt/options_manager.cpp
249 smt/options_manager.h
250 smt/output_manager.cpp
251 smt/output_manager.h
252 smt/quant_elim_solver.cpp
253 smt/quant_elim_solver.h
254 smt/preprocessor.cpp
255 smt/preprocessor.h
256 smt/preprocess_proof_generator.cpp
257 smt/preprocess_proof_generator.h
258 smt/process_assertions.cpp
259 smt/process_assertions.h
260 smt/proof_manager.cpp
261 smt/proof_manager.h
262 smt/proof_post_processor.cpp
263 smt/proof_post_processor.h
264 smt/set_defaults.cpp
265 smt/set_defaults.h
266 smt/smt_engine.cpp
267 smt/smt_engine.h
268 smt/smt_engine_scope.cpp
269 smt/smt_engine_scope.h
270 smt/smt_engine_state.cpp
271 smt/smt_engine_state.h
272 smt/smt_engine_stats.cpp
273 smt/smt_engine_stats.h
274 smt/smt_mode.cpp
275 smt/smt_mode.h
276 smt/smt_solver.cpp
277 smt/smt_solver.h
278 smt/smt_statistics_registry.cpp
279 smt/smt_statistics_registry.h
280 smt/sygus_solver.cpp
281 smt/sygus_solver.h
282 smt/term_formula_removal.cpp
283 smt/term_formula_removal.h
284 smt/unsat_core_manager.cpp
285 smt/unsat_core_manager.h
286 smt/update_ostream.h
287 smt/witness_form.cpp
288 smt/witness_form.h
289 smt_util/boolean_simplification.cpp
290 smt_util/boolean_simplification.h
291 smt_util/nary_builder.cpp
292 smt_util/nary_builder.h
293 theory/arith/approx_simplex.cpp
294 theory/arith/approx_simplex.h
295 theory/arith/arith_ite_utils.cpp
296 theory/arith/arith_ite_utils.h
297 theory/arith/arith_msum.cpp
298 theory/arith/arith_msum.h
299 theory/arith/arith_preprocess.cpp
300 theory/arith/arith_preprocess.h
301 theory/arith/arith_rewriter.cpp
302 theory/arith/arith_rewriter.h
303 theory/arith/arith_state.cpp
304 theory/arith/arith_state.h
305 theory/arith/arith_static_learner.cpp
306 theory/arith/arith_static_learner.h
307 theory/arith/arith_utilities.cpp
308 theory/arith/arith_utilities.h
309 theory/arith/arithvar.cpp
310 theory/arith/arithvar.h
311 theory/arith/attempt_solution_simplex.cpp
312 theory/arith/attempt_solution_simplex.h
313 theory/arith/bound_counts.h
314 theory/arith/bound_inference.cpp
315 theory/arith/bound_inference.h
316 theory/arith/callbacks.cpp
317 theory/arith/callbacks.h
318 theory/arith/congruence_manager.cpp
319 theory/arith/congruence_manager.h
320 theory/arith/constraint.cpp
321 theory/arith/constraint.h
322 theory/arith/constraint_forward.h
323 theory/arith/cut_log.cpp
324 theory/arith/cut_log.h
325 theory/arith/delta_rational.cpp
326 theory/arith/delta_rational.h
327 theory/arith/dio_solver.cpp
328 theory/arith/dio_solver.h
329 theory/arith/dual_simplex.cpp
330 theory/arith/dual_simplex.h
331 theory/arith/error_set.cpp
332 theory/arith/error_set.h
333 theory/arith/fc_simplex.cpp
334 theory/arith/fc_simplex.h
335 theory/arith/infer_bounds.cpp
336 theory/arith/infer_bounds.h
337 theory/arith/inference_manager.cpp
338 theory/arith/inference_manager.h
339 theory/arith/linear_equality.cpp
340 theory/arith/linear_equality.h
341 theory/arith/matrix.cpp
342 theory/arith/matrix.h
343 theory/arith/nl/cad_solver.cpp
344 theory/arith/nl/cad_solver.h
345 theory/arith/nl/cad/cdcac.cpp
346 theory/arith/nl/cad/cdcac.h
347 theory/arith/nl/cad/cdcac_utils.cpp
348 theory/arith/nl/cad/cdcac_utils.h
349 theory/arith/nl/cad/constraints.cpp
350 theory/arith/nl/cad/constraints.h
351 theory/arith/nl/cad/projections.cpp
352 theory/arith/nl/cad/projections.h
353 theory/arith/nl/cad/proof_checker.cpp
354 theory/arith/nl/cad/proof_checker.h
355 theory/arith/nl/cad/proof_generator.cpp
356 theory/arith/nl/cad/proof_generator.h
357 theory/arith/nl/cad/variable_ordering.cpp
358 theory/arith/nl/cad/variable_ordering.h
359 theory/arith/nl/ext/constraint.cpp
360 theory/arith/nl/ext/constraint.h
361 theory/arith/nl/ext/factoring_check.cpp
362 theory/arith/nl/ext/factoring_check.h
363 theory/arith/nl/ext/monomial.cpp
364 theory/arith/nl/ext/monomial.h
365 theory/arith/nl/ext/monomial_bounds_check.cpp
366 theory/arith/nl/ext/monomial_bounds_check.h
367 theory/arith/nl/ext/monomial_check.cpp
368 theory/arith/nl/ext/monomial_check.h
369 theory/arith/nl/ext/ext_state.cpp
370 theory/arith/nl/ext/ext_state.h
371 theory/arith/nl/ext/proof_checker.cpp
372 theory/arith/nl/ext/proof_checker.h
373 theory/arith/nl/ext/split_zero_check.cpp
374 theory/arith/nl/ext/split_zero_check.h
375 theory/arith/nl/ext/tangent_plane_check.cpp
376 theory/arith/nl/ext/tangent_plane_check.h
377 theory/arith/nl/ext_theory_callback.cpp
378 theory/arith/nl/ext_theory_callback.h
379 theory/arith/nl/iand_solver.cpp
380 theory/arith/nl/iand_solver.h
381 theory/arith/nl/icp/candidate.cpp
382 theory/arith/nl/icp/candidate.h
383 theory/arith/nl/icp/contraction_origins.cpp
384 theory/arith/nl/icp/contraction_origins.h
385 theory/arith/nl/icp/icp_solver.cpp
386 theory/arith/nl/icp/icp_solver.h
387 theory/arith/nl/icp/intersection.cpp
388 theory/arith/nl/icp/intersection.h
389 theory/arith/nl/iand_utils.cpp
390 theory/arith/nl/iand_utils.h
391 theory/arith/nl/nl_lemma_utils.cpp
392 theory/arith/nl/nl_lemma_utils.h
393 theory/arith/nl/nl_model.cpp
394 theory/arith/nl/nl_model.h
395 theory/arith/nl/nonlinear_extension.cpp
396 theory/arith/nl/nonlinear_extension.h
397 theory/arith/nl/poly_conversion.cpp
398 theory/arith/nl/poly_conversion.h
399 theory/arith/nl/stats.cpp
400 theory/arith/nl/stats.h
401 theory/arith/nl/strategy.cpp
402 theory/arith/nl/strategy.h
403 theory/arith/nl/transcendental/exponential_solver.cpp
404 theory/arith/nl/transcendental/exponential_solver.h
405 theory/arith/nl/transcendental/proof_checker.cpp
406 theory/arith/nl/transcendental/proof_checker.h
407 theory/arith/nl/transcendental/sine_solver.cpp
408 theory/arith/nl/transcendental/sine_solver.h
409 theory/arith/nl/transcendental/taylor_generator.cpp
410 theory/arith/nl/transcendental/taylor_generator.h
411 theory/arith/nl/transcendental/transcendental_solver.cpp
412 theory/arith/nl/transcendental/transcendental_solver.h
413 theory/arith/nl/transcendental/transcendental_state.cpp
414 theory/arith/nl/transcendental/transcendental_state.h
415 theory/arith/normal_form.cpp
416 theory/arith/normal_form.h
417 theory/arith/operator_elim.cpp
418 theory/arith/operator_elim.h
419 theory/arith/partial_model.cpp
420 theory/arith/partial_model.h
421 theory/arith/proof_checker.cpp
422 theory/arith/proof_checker.h
423 theory/arith/proof_macros.h
424 theory/arith/rewrites.cpp
425 theory/arith/rewrites.h
426 theory/arith/simplex.cpp
427 theory/arith/simplex.h
428 theory/arith/simplex_update.cpp
429 theory/arith/simplex_update.h
430 theory/arith/soi_simplex.cpp
431 theory/arith/soi_simplex.h
432 theory/arith/tableau.cpp
433 theory/arith/tableau.h
434 theory/arith/tableau_sizes.cpp
435 theory/arith/tableau_sizes.h
436 theory/arith/theory_arith.cpp
437 theory/arith/theory_arith.h
438 theory/arith/theory_arith_private.cpp
439 theory/arith/theory_arith_private.h
440 theory/arith/theory_arith_type_rules.h
441 theory/arith/type_enumerator.h
442 theory/arrays/array_info.cpp
443 theory/arrays/array_info.h
444 theory/arrays/inference_manager.cpp
445 theory/arrays/inference_manager.h
446 theory/arrays/proof_checker.cpp
447 theory/arrays/proof_checker.h
448 theory/arrays/skolem_cache.cpp
449 theory/arrays/skolem_cache.h
450 theory/arrays/theory_arrays.cpp
451 theory/arrays/theory_arrays.h
452 theory/arrays/theory_arrays_rewriter.cpp
453 theory/arrays/theory_arrays_rewriter.h
454 theory/arrays/theory_arrays_type_rules.h
455 theory/arrays/type_enumerator.h
456 theory/arrays/union_find.cpp
457 theory/arrays/union_find.h
458 theory/assertion.cpp
459 theory/assertion.h
460 theory/atom_requests.cpp
461 theory/atom_requests.h
462 theory/bags/bags_rewriter.cpp
463 theory/bags/bags_rewriter.h
464 theory/bags/bag_solver.cpp
465 theory/bags/bag_solver.h
466 theory/bags/bags_statistics.cpp
467 theory/bags/bags_statistics.h
468 theory/bags/infer_info.cpp
469 theory/bags/infer_info.h
470 theory/bags/inference_generator.cpp
471 theory/bags/inference_generator.h
472 theory/bags/inference_manager.cpp
473 theory/bags/inference_manager.h
474 theory/bags/make_bag_op.cpp
475 theory/bags/make_bag_op.h
476 theory/bags/normal_form.cpp
477 theory/bags/normal_form.h
478 theory/bags/rewrites.cpp
479 theory/bags/rewrites.h
480 theory/bags/solver_state.cpp
481 theory/bags/solver_state.h
482 theory/bags/term_registry.cpp
483 theory/bags/term_registry.h
484 theory/bags/theory_bags.cpp
485 theory/bags/theory_bags.h
486 theory/bags/theory_bags_type_enumerator.cpp
487 theory/bags/theory_bags_type_enumerator.h
488 theory/bags/theory_bags_type_rules.h
489 theory/booleans/circuit_propagator.cpp
490 theory/booleans/circuit_propagator.h
491 theory/booleans/proof_circuit_propagator.cpp
492 theory/booleans/proof_circuit_propagator.h
493 theory/booleans/proof_checker.cpp
494 theory/booleans/proof_checker.h
495 theory/booleans/theory_bool.cpp
496 theory/booleans/theory_bool.h
497 theory/booleans/theory_bool_rewriter.cpp
498 theory/booleans/theory_bool_rewriter.h
499 theory/booleans/theory_bool_type_rules.h
500 theory/booleans/type_enumerator.h
501 theory/builtin/proof_checker.cpp
502 theory/builtin/proof_checker.h
503 theory/builtin/theory_builtin.cpp
504 theory/builtin/theory_builtin.h
505 theory/builtin/theory_builtin_rewriter.cpp
506 theory/builtin/theory_builtin_rewriter.h
507 theory/builtin/theory_builtin_type_rules.cpp
508 theory/builtin/theory_builtin_type_rules.h
509 theory/builtin/type_enumerator.cpp
510 theory/builtin/type_enumerator.h
511 theory/bv/abstraction.cpp
512 theory/bv/abstraction.h
513 theory/bv/bitblast/aig_bitblaster.cpp
514 theory/bv/bitblast/aig_bitblaster.h
515 theory/bv/bitblast/bitblast_strategies_template.h
516 theory/bv/bitblast/bitblast_utils.h
517 theory/bv/bitblast/bitblaster.h
518 theory/bv/bitblast/eager_bitblaster.cpp
519 theory/bv/bitblast/eager_bitblaster.h
520 theory/bv/bitblast/lazy_bitblaster.cpp
521 theory/bv/bitblast/lazy_bitblaster.h
522 theory/bv/bitblast/proof_bitblaster.cpp
523 theory/bv/bitblast/proof_bitblaster.h
524 theory/bv/bitblast/simple_bitblaster.cpp
525 theory/bv/bitblast/simple_bitblaster.h
526 theory/bv/bv_eager_solver.cpp
527 theory/bv/bv_eager_solver.h
528 theory/bv/bv_inequality_graph.cpp
529 theory/bv/bv_inequality_graph.h
530 theory/bv/bv_quick_check.cpp
531 theory/bv/bv_quick_check.h
532 theory/bv/bv_solver.h
533 theory/bv/bv_solver_bitblast.cpp
534 theory/bv/bv_solver_bitblast.h
535 theory/bv/bv_solver_lazy.cpp
536 theory/bv/bv_solver_lazy.h
537 theory/bv/bv_solver_simple.cpp
538 theory/bv/bv_solver_simple.h
539 theory/bv/bv_subtheory.h
540 theory/bv/bv_subtheory_algebraic.cpp
541 theory/bv/bv_subtheory_algebraic.h
542 theory/bv/bv_subtheory_bitblast.cpp
543 theory/bv/bv_subtheory_bitblast.h
544 theory/bv/bv_subtheory_core.cpp
545 theory/bv/bv_subtheory_core.h
546 theory/bv/bv_subtheory_inequality.cpp
547 theory/bv/bv_subtheory_inequality.h
548 theory/bv/proof_checker.cpp
549 theory/bv/proof_checker.h
550 theory/bv/slicer.cpp
551 theory/bv/slicer.h
552 theory/bv/theory_bv.cpp
553 theory/bv/theory_bv.h
554 theory/bv/theory_bv_rewrite_rules.h
555 theory/bv/theory_bv_rewrite_rules_constant_evaluation.h
556 theory/bv/theory_bv_rewrite_rules_core.h
557 theory/bv/theory_bv_rewrite_rules_normalization.h
558 theory/bv/theory_bv_rewrite_rules_operator_elimination.h
559 theory/bv/theory_bv_rewrite_rules_simplification.h
560 theory/bv/theory_bv_rewriter.cpp
561 theory/bv/theory_bv_rewriter.h
562 theory/bv/theory_bv_type_rules.h
563 theory/bv/theory_bv_utils.cpp
564 theory/bv/theory_bv_utils.h
565 theory/bv/type_enumerator.h
566 theory/care_graph.h
567 theory/combination_care_graph.cpp
568 theory/combination_care_graph.h
569 theory/combination_engine.cpp
570 theory/combination_engine.h
571 theory/datatypes/datatypes_rewriter.cpp
572 theory/datatypes/datatypes_rewriter.h
573 theory/datatypes/inference.cpp
574 theory/datatypes/inference.h
575 theory/datatypes/inference_manager.cpp
576 theory/datatypes/inference_manager.h
577 theory/datatypes/infer_proof_cons.cpp
578 theory/datatypes/infer_proof_cons.h
579 theory/datatypes/proof_checker.cpp
580 theory/datatypes/proof_checker.h
581 theory/datatypes/sygus_datatype_utils.cpp
582 theory/datatypes/sygus_datatype_utils.h
583 theory/datatypes/sygus_extension.cpp
584 theory/datatypes/sygus_extension.h
585 theory/datatypes/sygus_simple_sym.cpp
586 theory/datatypes/sygus_simple_sym.h
587 theory/datatypes/theory_datatypes.cpp
588 theory/datatypes/theory_datatypes.h
589 theory/datatypes/theory_datatypes_type_rules.h
590 theory/datatypes/theory_datatypes_utils.cpp
591 theory/datatypes/theory_datatypes_utils.h
592 theory/datatypes/tuple_project_op.cpp
593 theory/datatypes/tuple_project_op.h
594 theory/datatypes/type_enumerator.cpp
595 theory/datatypes/type_enumerator.h
596 theory/decision_manager.cpp
597 theory/decision_manager.h
598 theory/decision_strategy.cpp
599 theory/decision_strategy.h
600 theory/eager_proof_generator.cpp
601 theory/eager_proof_generator.h
602 theory/ee_manager.cpp
603 theory/ee_manager.h
604 theory/ee_manager_distributed.cpp
605 theory/ee_manager_distributed.h
606 theory/ee_setup_info.h
607 theory/engine_output_channel.cpp
608 theory/engine_output_channel.h
609 theory/evaluator.cpp
610 theory/evaluator.h
611 theory/ext_theory.cpp
612 theory/ext_theory.h
613 theory/fp/fp_converter.cpp
614 theory/fp/fp_converter.h
615 theory/fp/theory_fp.cpp
616 theory/fp/theory_fp.h
617 theory/fp/theory_fp_rewriter.cpp
618 theory/fp/theory_fp_rewriter.h
619 theory/fp/theory_fp_type_rules.h
620 theory/fp/type_enumerator.h
621 theory/interrupted.h
622 theory/inference_id.cpp
623 theory/inference_id.h
624 theory/inference_manager_buffered.cpp
625 theory/inference_manager_buffered.h
626 theory/lazy_tree_proof_generator.cpp
627 theory/lazy_tree_proof_generator.h
628 theory/logic_info.cpp
629 theory/logic_info.h
630 theory/model_manager.cpp
631 theory/model_manager.h
632 theory/model_manager_distributed.cpp
633 theory/model_manager_distributed.h
634 theory/output_channel.cpp
635 theory/output_channel.h
636 theory/quantifiers/alpha_equivalence.cpp
637 theory/quantifiers/alpha_equivalence.h
638 theory/quantifiers/bv_inverter.cpp
639 theory/quantifiers/bv_inverter.h
640 theory/quantifiers/bv_inverter_utils.cpp
641 theory/quantifiers/bv_inverter_utils.h
642 theory/quantifiers/candidate_rewrite_database.cpp
643 theory/quantifiers/candidate_rewrite_database.h
644 theory/quantifiers/candidate_rewrite_filter.cpp
645 theory/quantifiers/candidate_rewrite_filter.h
646 theory/quantifiers/cegqi/ceg_arith_instantiator.cpp
647 theory/quantifiers/cegqi/ceg_arith_instantiator.h
648 theory/quantifiers/cegqi/ceg_bv_instantiator.cpp
649 theory/quantifiers/cegqi/ceg_bv_instantiator.h
650 theory/quantifiers/cegqi/ceg_bv_instantiator_utils.cpp
651 theory/quantifiers/cegqi/ceg_bv_instantiator_utils.h
652 theory/quantifiers/cegqi/ceg_dt_instantiator.cpp
653 theory/quantifiers/cegqi/ceg_dt_instantiator.h
654 theory/quantifiers/cegqi/ceg_instantiator.cpp
655 theory/quantifiers/cegqi/ceg_instantiator.h
656 theory/quantifiers/cegqi/inst_strategy_cegqi.cpp
657 theory/quantifiers/cegqi/inst_strategy_cegqi.h
658 theory/quantifiers/cegqi/nested_qe.cpp
659 theory/quantifiers/cegqi/nested_qe.h
660 theory/quantifiers/cegqi/vts_term_cache.cpp
661 theory/quantifiers/cegqi/vts_term_cache.h
662 theory/quantifiers/conjecture_generator.cpp
663 theory/quantifiers/conjecture_generator.h
664 theory/quantifiers/dynamic_rewrite.cpp
665 theory/quantifiers/dynamic_rewrite.h
666 theory/quantifiers/ematching/candidate_generator.cpp
667 theory/quantifiers/ematching/candidate_generator.h
668 theory/quantifiers/ematching/ho_trigger.cpp
669 theory/quantifiers/ematching/ho_trigger.h
670 theory/quantifiers/ematching/inst_match_generator.cpp
671 theory/quantifiers/ematching/inst_match_generator.h
672 theory/quantifiers/ematching/inst_match_generator_multi.cpp
673 theory/quantifiers/ematching/inst_match_generator_multi.h
674 theory/quantifiers/ematching/inst_match_generator_multi_linear.cpp
675 theory/quantifiers/ematching/inst_match_generator_multi_linear.h
676 theory/quantifiers/ematching/inst_match_generator_simple.cpp
677 theory/quantifiers/ematching/inst_match_generator_simple.h
678 theory/quantifiers/ematching/inst_strategy.cpp
679 theory/quantifiers/ematching/inst_strategy.h
680 theory/quantifiers/ematching/inst_strategy_e_matching.cpp
681 theory/quantifiers/ematching/inst_strategy_e_matching.h
682 theory/quantifiers/ematching/inst_strategy_e_matching_user.cpp
683 theory/quantifiers/ematching/inst_strategy_e_matching_user.h
684 theory/quantifiers/ematching/instantiation_engine.cpp
685 theory/quantifiers/ematching/instantiation_engine.h
686 theory/quantifiers/ematching/pattern_term_selector.cpp
687 theory/quantifiers/ematching/pattern_term_selector.h
688 theory/quantifiers/ematching/trigger.cpp
689 theory/quantifiers/ematching/trigger.h
690 theory/quantifiers/ematching/trigger_term_info.cpp
691 theory/quantifiers/ematching/trigger_term_info.h
692 theory/quantifiers/ematching/trigger_trie.cpp
693 theory/quantifiers/ematching/trigger_trie.h
694 theory/quantifiers/ematching/var_match_generator.cpp
695 theory/quantifiers/ematching/var_match_generator.h
696 theory/quantifiers/equality_query.cpp
697 theory/quantifiers/equality_query.h
698 theory/quantifiers/expr_miner.cpp
699 theory/quantifiers/expr_miner.h
700 theory/quantifiers/expr_miner_manager.cpp
701 theory/quantifiers/expr_miner_manager.h
702 theory/quantifiers/extended_rewrite.cpp
703 theory/quantifiers/extended_rewrite.h
704 theory/quantifiers/first_order_model.cpp
705 theory/quantifiers/first_order_model.h
706 theory/quantifiers/fmf/bounded_integers.cpp
707 theory/quantifiers/fmf/bounded_integers.h
708 theory/quantifiers/fmf/first_order_model_fmc.cpp
709 theory/quantifiers/fmf/first_order_model_fmc.h
710 theory/quantifiers/fmf/full_model_check.cpp
711 theory/quantifiers/fmf/full_model_check.h
712 theory/quantifiers/fmf/model_builder.cpp
713 theory/quantifiers/fmf/model_builder.h
714 theory/quantifiers/fmf/model_engine.cpp
715 theory/quantifiers/fmf/model_engine.h
716 theory/quantifiers/fun_def_evaluator.cpp
717 theory/quantifiers/fun_def_evaluator.h
718 theory/quantifiers/index_trie.cpp
719 theory/quantifiers/index_trie.h
720 theory/quantifiers/inst_match.cpp
721 theory/quantifiers/inst_match.h
722 theory/quantifiers/inst_match_trie.cpp
723 theory/quantifiers/inst_match_trie.h
724 theory/quantifiers/inst_strategy_enumerative.cpp
725 theory/quantifiers/inst_strategy_enumerative.h
726 theory/quantifiers/instantiate.cpp
727 theory/quantifiers/instantiate.h
728 theory/quantifiers/instantiation_list.cpp
729 theory/quantifiers/instantiation_list.h
730 theory/quantifiers/lazy_trie.cpp
731 theory/quantifiers/lazy_trie.h
732 theory/quantifiers/proof_checker.cpp
733 theory/quantifiers/proof_checker.h
734 theory/quantifiers/quant_conflict_find.cpp
735 theory/quantifiers/quant_conflict_find.h
736 theory/quantifiers/quant_relevance.cpp
737 theory/quantifiers/quant_relevance.h
738 theory/quantifiers/quant_rep_bound_ext.cpp
739 theory/quantifiers/quant_rep_bound_ext.h
740 theory/quantifiers/quant_split.cpp
741 theory/quantifiers/quant_split.h
742 theory/quantifiers/quant_util.cpp
743 theory/quantifiers/quant_util.h
744 theory/quantifiers/quant_module.cpp
745 theory/quantifiers/quant_module.h
746 theory/quantifiers/quantifiers_attributes.cpp
747 theory/quantifiers/quantifiers_attributes.h
748 theory/quantifiers/quantifiers_inference_manager.cpp
749 theory/quantifiers/quantifiers_inference_manager.h
750 theory/quantifiers/quantifiers_modules.cpp
751 theory/quantifiers/quantifiers_modules.h
752 theory/quantifiers/quantifiers_registry.cpp
753 theory/quantifiers/quantifiers_registry.h
754 theory/quantifiers/quantifiers_rewriter.cpp
755 theory/quantifiers/quantifiers_rewriter.h
756 theory/quantifiers/quantifiers_state.cpp
757 theory/quantifiers/quantifiers_state.h
758 theory/quantifiers/query_generator.cpp
759 theory/quantifiers/query_generator.h
760 theory/quantifiers/relevant_domain.cpp
761 theory/quantifiers/relevant_domain.h
762 theory/quantifiers/single_inv_partition.cpp
763 theory/quantifiers/single_inv_partition.h
764 theory/quantifiers/skolemize.cpp
765 theory/quantifiers/skolemize.h
766 theory/quantifiers/solution_filter.cpp
767 theory/quantifiers/solution_filter.h
768 theory/quantifiers/term_tuple_enumerator.cpp
769 theory/quantifiers/term_tuple_enumerator.h
770 theory/quantifiers/sygus/ce_guided_single_inv.cpp
771 theory/quantifiers/sygus/ce_guided_single_inv.h
772 theory/quantifiers/sygus/ce_guided_single_inv_sol.cpp
773 theory/quantifiers/sygus/ce_guided_single_inv_sol.h
774 theory/quantifiers/sygus/cegis.cpp
775 theory/quantifiers/sygus/cegis.h
776 theory/quantifiers/sygus/cegis_core_connective.cpp
777 theory/quantifiers/sygus/cegis_core_connective.h
778 theory/quantifiers/sygus/cegis_unif.cpp
779 theory/quantifiers/sygus/cegis_unif.h
780 theory/quantifiers/sygus/example_eval_cache.cpp
781 theory/quantifiers/sygus/example_eval_cache.h
782 theory/quantifiers/sygus/example_infer.cpp
783 theory/quantifiers/sygus/example_infer.h
784 theory/quantifiers/sygus/example_min_eval.cpp
785 theory/quantifiers/sygus/example_min_eval.h
786 theory/quantifiers/sygus/enum_stream_substitution.cpp
787 theory/quantifiers/sygus/enum_stream_substitution.h
788 theory/quantifiers/sygus/example_infer.cpp
789 theory/quantifiers/sygus/example_infer.h
790 theory/quantifiers/sygus/example_min_eval.cpp
791 theory/quantifiers/sygus/example_min_eval.h
792 theory/quantifiers/sygus/sygus_abduct.cpp
793 theory/quantifiers/sygus/sygus_abduct.h
794 theory/quantifiers/sygus/sygus_enumerator.cpp
795 theory/quantifiers/sygus/sygus_enumerator.h
796 theory/quantifiers/sygus/sygus_enumerator_basic.cpp
797 theory/quantifiers/sygus/sygus_enumerator_basic.h
798 theory/quantifiers/sygus/sygus_eval_unfold.cpp
799 theory/quantifiers/sygus/sygus_eval_unfold.h
800 theory/quantifiers/sygus/sygus_explain.cpp
801 theory/quantifiers/sygus/sygus_explain.h
802 theory/quantifiers/sygus/sygus_grammar_cons.cpp
803 theory/quantifiers/sygus/sygus_grammar_cons.h
804 theory/quantifiers/sygus/sygus_grammar_norm.cpp
805 theory/quantifiers/sygus/sygus_grammar_norm.h
806 theory/quantifiers/sygus/sygus_grammar_red.cpp
807 theory/quantifiers/sygus/sygus_grammar_red.h
808 theory/quantifiers/sygus/sygus_interpol.cpp
809 theory/quantifiers/sygus/sygus_interpol.h
810 theory/quantifiers/sygus/sygus_invariance.cpp
811 theory/quantifiers/sygus/sygus_invariance.h
812 theory/quantifiers/sygus/sygus_module.cpp
813 theory/quantifiers/sygus/sygus_module.h
814 theory/quantifiers/sygus/sygus_pbe.cpp
815 theory/quantifiers/sygus/sygus_pbe.h
816 theory/quantifiers/sygus/sygus_process_conj.cpp
817 theory/quantifiers/sygus/sygus_process_conj.h
818 theory/quantifiers/sygus/sygus_qe_preproc.cpp
819 theory/quantifiers/sygus/sygus_qe_preproc.h
820 theory/quantifiers/sygus/sygus_repair_const.cpp
821 theory/quantifiers/sygus/sygus_repair_const.h
822 theory/quantifiers/sygus/sygus_stats.cpp
823 theory/quantifiers/sygus/sygus_stats.h
824 theory/quantifiers/sygus/sygus_unif.cpp
825 theory/quantifiers/sygus/sygus_unif.h
826 theory/quantifiers/sygus/sygus_unif_io.cpp
827 theory/quantifiers/sygus/sygus_unif_io.h
828 theory/quantifiers/sygus/sygus_unif_rl.cpp
829 theory/quantifiers/sygus/sygus_unif_rl.h
830 theory/quantifiers/sygus/sygus_unif_strat.cpp
831 theory/quantifiers/sygus/sygus_unif_strat.h
832 theory/quantifiers/sygus/sygus_utils.cpp
833 theory/quantifiers/sygus/sygus_utils.h
834 theory/quantifiers/sygus/synth_conjecture.cpp
835 theory/quantifiers/sygus/synth_conjecture.h
836 theory/quantifiers/sygus/synth_engine.cpp
837 theory/quantifiers/sygus/synth_engine.h
838 theory/quantifiers/sygus/template_infer.cpp
839 theory/quantifiers/sygus/template_infer.h
840 theory/quantifiers/sygus/term_database_sygus.cpp
841 theory/quantifiers/sygus/term_database_sygus.h
842 theory/quantifiers/sygus/type_info.cpp
843 theory/quantifiers/sygus/type_info.h
844 theory/quantifiers/sygus/type_node_id_trie.cpp
845 theory/quantifiers/sygus/type_node_id_trie.h
846 theory/quantifiers/sygus/transition_inference.cpp
847 theory/quantifiers/sygus/transition_inference.h
848 theory/quantifiers/sygus_inst.cpp
849 theory/quantifiers/sygus_inst.h
850 theory/quantifiers/sygus_sampler.cpp
851 theory/quantifiers/sygus_sampler.h
852 theory/quantifiers/term_database.cpp
853 theory/quantifiers/term_database.h
854 theory/quantifiers/term_enumeration.cpp
855 theory/quantifiers/term_enumeration.h
856 theory/quantifiers/term_registry.cpp
857 theory/quantifiers/term_registry.h
858 theory/quantifiers/term_util.cpp
859 theory/quantifiers/term_util.h
860 theory/quantifiers/theory_quantifiers.cpp
861 theory/quantifiers/theory_quantifiers.h
862 theory/quantifiers/theory_quantifiers_type_rules.h
863 theory/quantifiers_engine.cpp
864 theory/quantifiers_engine.h
865 theory/relevance_manager.cpp
866 theory/relevance_manager.h
867 theory/rep_set.cpp
868 theory/rep_set.h
869 theory/rewriter.cpp
870 theory/rewriter.h
871 theory/rewriter_attributes.h
872 theory/sep/theory_sep.cpp
873 theory/sep/theory_sep.h
874 theory/sep/theory_sep_rewriter.cpp
875 theory/sep/theory_sep_rewriter.h
876 theory/sep/theory_sep_type_rules.h
877 theory/sets/cardinality_extension.cpp
878 theory/sets/cardinality_extension.h
879 theory/sets/inference_manager.cpp
880 theory/sets/inference_manager.h
881 theory/sets/normal_form.h
882 theory/sets/rels_utils.h
883 theory/sets/singleton_op.cpp
884 theory/sets/singleton_op.h
885 theory/sets/skolem_cache.cpp
886 theory/sets/skolem_cache.h
887 theory/sets/solver_state.cpp
888 theory/sets/solver_state.h
889 theory/sets/term_registry.cpp
890 theory/sets/term_registry.h
891 theory/sets/theory_sets.cpp
892 theory/sets/theory_sets.h
893 theory/sets/theory_sets_private.cpp
894 theory/sets/theory_sets_private.h
895 theory/sets/theory_sets_rels.cpp
896 theory/sets/theory_sets_rels.h
897 theory/sets/theory_sets_rewriter.cpp
898 theory/sets/theory_sets_rewriter.h
899 theory/sets/theory_sets_type_enumerator.cpp
900 theory/sets/theory_sets_type_enumerator.h
901 theory/sets/theory_sets_type_rules.h
902 theory/shared_solver.cpp
903 theory/shared_solver.h
904 theory/shared_solver_distributed.cpp
905 theory/shared_solver_distributed.h
906 theory/shared_terms_database.cpp
907 theory/shared_terms_database.h
908 theory/skolem_lemma.cpp
909 theory/skolem_lemma.h
910 theory/smt_engine_subsolver.cpp
911 theory/smt_engine_subsolver.h
912 theory/sort_inference.cpp
913 theory/sort_inference.h
914 theory/strings/arith_entail.cpp
915 theory/strings/arith_entail.h
916 theory/strings/base_solver.cpp
917 theory/strings/base_solver.h
918 theory/strings/core_solver.cpp
919 theory/strings/core_solver.h
920 theory/strings/eager_solver.cpp
921 theory/strings/eager_solver.h
922 theory/strings/extf_solver.cpp
923 theory/strings/extf_solver.h
924 theory/strings/eqc_info.cpp
925 theory/strings/eqc_info.h
926 theory/strings/infer_info.cpp
927 theory/strings/infer_info.h
928 theory/strings/infer_proof_cons.cpp
929 theory/strings/infer_proof_cons.h
930 theory/strings/inference_manager.cpp
931 theory/strings/inference_manager.h
932 theory/strings/normal_form.cpp
933 theory/strings/normal_form.h
934 theory/strings/proof_checker.cpp
935 theory/strings/proof_checker.h
936 theory/strings/regexp_elim.cpp
937 theory/strings/regexp_elim.h
938 theory/strings/regexp_entail.cpp
939 theory/strings/regexp_entail.h
940 theory/strings/regexp_operation.cpp
941 theory/strings/regexp_operation.h
942 theory/strings/regexp_solver.cpp
943 theory/strings/regexp_solver.h
944 theory/strings/rewrites.cpp
945 theory/strings/rewrites.h
946 theory/strings/sequences_rewriter.cpp
947 theory/strings/sequences_rewriter.h
948 theory/strings/sequences_stats.cpp
949 theory/strings/sequences_stats.h
950 theory/strings/skolem_cache.cpp
951 theory/strings/skolem_cache.h
952 theory/strings/solver_state.cpp
953 theory/strings/solver_state.h
954 theory/strings/strategy.cpp
955 theory/strings/strategy.h
956 theory/strings/strings_entail.cpp
957 theory/strings/strings_entail.h
958 theory/strings/strings_fmf.cpp
959 theory/strings/strings_fmf.h
960 theory/strings/strings_rewriter.cpp
961 theory/strings/strings_rewriter.h
962 theory/strings/theory_strings.cpp
963 theory/strings/theory_strings.h
964 theory/strings/theory_strings_preprocess.cpp
965 theory/strings/theory_strings_preprocess.h
966 theory/strings/theory_strings_type_rules.h
967 theory/strings/theory_strings_utils.cpp
968 theory/strings/theory_strings_utils.h
969 theory/strings/term_registry.cpp
970 theory/strings/term_registry.h
971 theory/strings/type_enumerator.cpp
972 theory/strings/type_enumerator.h
973 theory/strings/word.cpp
974 theory/strings/word.h
975 theory/subs_minimize.cpp
976 theory/subs_minimize.h
977 theory/substitutions.cpp
978 theory/substitutions.h
979 theory/term_registration_visitor.cpp
980 theory/term_registration_visitor.h
981 theory/theory.cpp
982 theory/theory.h
983 theory/theory_engine.cpp
984 theory/theory_engine.h
985 theory/theory_engine_proof_generator.cpp
986 theory/theory_engine_proof_generator.h
987 theory/theory_id.cpp
988 theory/theory_id.h
989 theory/theory_eq_notify.h
990 theory/theory_inference.cpp
991 theory/theory_inference.h
992 theory/theory_inference_manager.cpp
993 theory/theory_inference_manager.h
994 theory/theory_model.cpp
995 theory/theory_model.h
996 theory/theory_model_builder.cpp
997 theory/theory_model_builder.h
998 theory/theory_preprocessor.cpp
999 theory/theory_preprocessor.h
1000 theory/theory_proof_step_buffer.cpp
1001 theory/theory_proof_step_buffer.h
1002 theory/theory_rewriter.cpp
1003 theory/theory_rewriter.h
1004 theory/theory_state.cpp
1005 theory/theory_state.h
1006 theory/trust_node.cpp
1007 theory/trust_node.h
1008 theory/trust_substitutions.cpp
1009 theory/trust_substitutions.h
1010 theory/type_enumerator.h
1011 theory/type_set.cpp
1012 theory/type_set.h
1013 theory/uf/cardinality_extension.cpp
1014 theory/uf/cardinality_extension.h
1015 theory/uf/equality_engine.cpp
1016 theory/uf/equality_engine.h
1017 theory/uf/equality_engine_iterator.cpp
1018 theory/uf/equality_engine_iterator.h
1019 theory/uf/equality_engine_notify.h
1020 theory/uf/equality_engine_types.h
1021 theory/uf/eq_proof.cpp
1022 theory/uf/eq_proof.h
1023 theory/uf/proof_checker.cpp
1024 theory/uf/proof_checker.h
1025 theory/uf/proof_equality_engine.cpp
1026 theory/uf/proof_equality_engine.h
1027 theory/uf/ho_extension.cpp
1028 theory/uf/ho_extension.h
1029 theory/uf/symmetry_breaker.cpp
1030 theory/uf/symmetry_breaker.h
1031 theory/uf/theory_uf.cpp
1032 theory/uf/theory_uf.h
1033 theory/uf/theory_uf_model.cpp
1034 theory/uf/theory_uf_model.h
1035 theory/uf/theory_uf_rewriter.h
1036 theory/uf/theory_uf_type_rules.h
1037 theory/valuation.cpp
1038 theory/valuation.h
1039 )
1040
1041 #-----------------------------------------------------------------------------#
1042 # Add required include paths for this and all subdirectories.
1043
1044 include_directories(include)
1045 include_directories(. ${CMAKE_CURRENT_BINARY_DIR})
1046
1047 #-----------------------------------------------------------------------------#
1048
1049 set(KINDS_FILES
1050 ${PROJECT_SOURCE_DIR}/src/theory/builtin/kinds
1051 ${PROJECT_SOURCE_DIR}/src/theory/booleans/kinds
1052 ${PROJECT_SOURCE_DIR}/src/theory/uf/kinds
1053 ${PROJECT_SOURCE_DIR}/src/theory/arith/kinds
1054 ${PROJECT_SOURCE_DIR}/src/theory/bv/kinds
1055 ${PROJECT_SOURCE_DIR}/src/theory/fp/kinds
1056 ${PROJECT_SOURCE_DIR}/src/theory/arrays/kinds
1057 ${PROJECT_SOURCE_DIR}/src/theory/datatypes/kinds
1058 ${PROJECT_SOURCE_DIR}/src/theory/sep/kinds
1059 ${PROJECT_SOURCE_DIR}/src/theory/sets/kinds
1060 ${PROJECT_SOURCE_DIR}/src/theory/bags/kinds
1061 ${PROJECT_SOURCE_DIR}/src/theory/strings/kinds
1062 ${PROJECT_SOURCE_DIR}/src/theory/quantifiers/kinds)
1063
1064 #-----------------------------------------------------------------------------#
1065 # Add subdirectories
1066
1067 add_subdirectory(base)
1068 add_subdirectory(expr)
1069 add_subdirectory(options)
1070 if (NOT BUILD_LIB_ONLY)
1071 add_subdirectory(parser)
1072 endif()
1073 add_subdirectory(theory)
1074 add_subdirectory(util)
1075
1076 #-----------------------------------------------------------------------------#
1077 # All sources for libcvc4 are now collected in LIBCVC4_SRCS and (if generated)
1078 # LIBCVC4_GEN_SRCS (via libcvc4_add_sources). We can now build libcvc4.
1079
1080 set_source_files_properties(${LIBCVC4_GEN_SRCS} PROPERTIES GENERATED TRUE)
1081 add_library(cvc4 ${LIBCVC4_SRCS} ${LIBCVC4_GEN_SRCS})
1082 target_include_directories(cvc4
1083 PUBLIC
1084 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
1085 $<INSTALL_INTERFACE:include>
1086 )
1087
1088 install(TARGETS cvc4
1089 EXPORT cvc4-targets
1090 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
1091 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
1092
1093 set_target_properties(cvc4 PROPERTIES SOVERSION ${CVC4_SOVERSION})
1094 target_compile_definitions(cvc4
1095 PRIVATE
1096 -D__BUILDING_CVC4LIB
1097 -D__STDC_LIMIT_MACROS
1098 -D__STDC_FORMAT_MACROS
1099 )
1100 # Add libcvc4 dependencies for generated sources.
1101 add_dependencies(cvc4 gen-expr gen-gitinfo gen-options gen-tags gen-theory)
1102
1103 # Add library/include dependencies
1104 if(ENABLE_VALGRIND)
1105 target_include_directories(cvc4 PRIVATE ${Valgrind_INCLUDE_DIR})
1106 endif()
1107 if(USE_ABC)
1108 target_link_libraries(cvc4 ${ABC_LIBRARIES})
1109 target_include_directories(cvc4 PRIVATE ${ABC_INCLUDE_DIR})
1110 endif()
1111 if(USE_CADICAL)
1112 target_link_libraries(cvc4 ${CaDiCaL_LIBRARIES})
1113 target_include_directories(cvc4 PRIVATE ${CaDiCaL_INCLUDE_DIR})
1114 endif()
1115 if(USE_CLN)
1116 target_link_libraries(cvc4 ${CLN_LIBRARIES})
1117 target_include_directories(cvc4 PUBLIC $<BUILD_INTERFACE:${CLN_INCLUDE_DIR}>)
1118 endif()
1119 if(USE_CRYPTOMINISAT)
1120 target_link_libraries(cvc4 ${CryptoMiniSat_LIBRARIES})
1121 target_include_directories(cvc4 PRIVATE ${CryptoMiniSat_INCLUDE_DIR})
1122 endif()
1123 if(USE_KISSAT)
1124 target_link_libraries(cvc4 ${Kissat_LIBRARIES})
1125 target_include_directories(cvc4 PRIVATE ${Kissat_INCLUDE_DIR})
1126 endif()
1127 if(USE_DRAT2ER)
1128 target_link_libraries(cvc4 ${Drat2Er_LIBRARIES})
1129 target_include_directories(cvc4 PRIVATE ${Drat2Er_INCLUDE_DIR})
1130 endif()
1131 if(USE_GLPK)
1132 target_link_libraries(cvc4 ${GLPK_LIBRARIES})
1133 target_include_directories(cvc4 PRIVATE ${GLPK_INCLUDE_DIR})
1134 endif()
1135 if(USE_LFSC)
1136 target_link_libraries(cvc4 ${LFSC_LIBRARIES})
1137 target_include_directories(cvc4 PRIVATE ${LFSC_INCLUDE_DIR})
1138 endif()
1139 if(USE_POLY)
1140 target_link_libraries(cvc4 ${POLY_LIBRARIES})
1141 target_include_directories(cvc4 PRIVATE ${POLY_INCLUDE_DIR})
1142 endif()
1143 if(USE_SYMFPU)
1144 target_include_directories(cvc4
1145 PUBLIC $<BUILD_INTERFACE:${SymFPU_INCLUDE_DIR}>)
1146 endif()
1147
1148 # Note: When linked statically GMP needs to be linked after CLN since CLN
1149 # depends on GMP.
1150 target_link_libraries(cvc4 ${GMP_LIBRARIES})
1151 target_include_directories(cvc4 PUBLIC $<BUILD_INTERFACE:${GMP_INCLUDE_DIR}>)
1152
1153 # Add rt library
1154 # Note: For glibc < 2.17 we have to additionally link against rt (man clock_gettime).
1155 # RT_LIBRARIES should be empty for glibc >= 2.17
1156 target_link_libraries(cvc4 ${RT_LIBRARIES})
1157
1158 #-----------------------------------------------------------------------------#
1159 # Visit main subdirectory after creating target cvc4. For target main, we have
1160 # to manually add library dependencies since we can't use
1161 # target_link_libraries(...) with object libraries for cmake versions <= 3.12.
1162 # Thus, we can only visit main as soon as all dependencies for cvc4 are set up.
1163
1164 if (NOT BUILD_LIB_ONLY)
1165 add_subdirectory(main)
1166 endif()
1167
1168 #-----------------------------------------------------------------------------#
1169 # Install public API headers
1170
1171 install(FILES
1172 api/cvc4cpp.h
1173 api/cvc4cppkind.h
1174 DESTINATION
1175 ${CMAKE_INSTALL_INCLUDEDIR}/cvc4/api)
1176 install(FILES
1177 include/cvc4_public.h
1178 DESTINATION
1179 ${CMAKE_INSTALL_INCLUDEDIR}/cvc4/)
1180
1181 # Fix include paths for all public headers.
1182 # Note: This is a temporary fix until the new C++ API is in place.
1183 install(CODE "execute_process(COMMAND
1184 ${CMAKE_CURRENT_LIST_DIR}/fix-install-headers.sh
1185 ${CMAKE_INSTALL_PREFIX})")