mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
add dependencies to fix build
This commit is contained in:
parent
e2cf4d99fb
commit
08c4f73e32
3 changed files with 10 additions and 1 deletions
|
@ -16,6 +16,7 @@ z3_add_component(portfolio
|
|||
subpaving_tactic
|
||||
ufbv_tactic
|
||||
fd_solver
|
||||
simplifiers
|
||||
TACTIC_HEADERS
|
||||
euf_completion_tactic.h
|
||||
default_tactic.h
|
||||
|
|
|
@ -105,11 +105,19 @@ static const tag_info* get_tag_infos() {
|
|||
}
|
||||
|
||||
|
||||
static bool has_overlap(char const* s, char const* t) {
|
||||
if (s[0] == t[0])
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void enable_trace(const char * tag_str) {
|
||||
TraceTag tag = find_trace_tag_by_string(tag_str);
|
||||
if (tag == TraceTag::Count) {
|
||||
warning_msg("trace tag '%s' does not exist", tag_str);
|
||||
#define X(tag, tag_class, desc) if (has_overlap(#tag, tag_str)) warning_msg("did you mean '%s'?", #tag);
|
||||
#include "util/trace_tags.def"
|
||||
#undef X
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue