z3_add_component(rewriter
  SOURCES
    arith_rewriter.cpp
    array_rewriter.cpp
    ast_counter.cpp
    bit2int.cpp
    bv2int_translator.cpp
    bool_rewriter.cpp
    bv_bounds.cpp
    bv_elim.cpp
    bv_rewriter.cpp
    cached_var_subst.cpp
    char_rewriter.cpp
    datatype_rewriter.cpp
    der.cpp
    distribute_forall.cpp
    dl_rewriter.cpp
    dom_simplifier.cpp
    elim_bounds.cpp
    enum2bv_rewriter.cpp
    expr_replacer.cpp
    expr_safe_replace.cpp
    factor_equivs.cpp
    factor_rewriter.cpp
    fpa_rewriter.cpp
    func_decl_replace.cpp
    inj_axiom.cpp
    label_rewriter.cpp
    macro_replacer.cpp
    maximize_ac_sharing.cpp
    mk_simplified_app.cpp
    pb_rewriter.cpp
    pb2bv_rewriter.cpp
    push_app_ite.cpp
    quant_hoist.cpp
    recfun_rewriter.cpp
    rewriter.cpp
    seq_axioms.cpp
    seq_eq_solver.cpp
    seq_rewriter.cpp
    seq_skolem.cpp
    th_rewriter.cpp
    value_sweep.cpp
    var_subst.cpp
    mk_extract_proc.cpp
  COMPONENT_DEPENDENCIES
    ast
    params
    automata
    interval
    polynomial
)
