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