summaryrefslogtreecommitdiff
path: root/src/options/module_template.h
blob: 61d689b7209c6bbc0b983dab8e351b27b95a17c9 (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
/******************************************************************************
 * Top contributors (to current version):
 *   Mathias Preiner, Aina Niemetz
 *
 * This file is part of the cvc5 project.
 *
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
 * in the top-level source directory and their institutional affiliations.
 * All rights reserved.  See the file COPYING in the top-level source
 * directory for licensing information.
 * ****************************************************************************
 *
 * Contains code for handling command-line options.
 *
 * For each <module>_options.toml configuration file, mkoptions.py
 * expands this template and generates a <module>_options.h file.
 */

#include "cvc5_private.h"

#ifndef CVC5__OPTIONS__${id_cap}$_H
#define CVC5__OPTIONS__${id_cap}$_H

#include "options/options.h"

// clang-format off
${includes}$
// clang-format on

namespace cvc5::options {

// clang-format off
${modes_decl}$
// clang-format on

#if defined(CVC5_MUZZLED) || defined(CVC5_COMPETITION_MODE)
#  define DO_SEMANTIC_CHECKS_BY_DEFAULT false
#else /* CVC5_MUZZLED || CVC5_COMPETITION_MODE */
#  define DO_SEMANTIC_CHECKS_BY_DEFAULT true
#endif /* CVC5_MUZZLED || CVC5_COMPETITION_MODE */

struct Holder${id_cap}$
{
// clang-format off
${holder_decl}$
// clang-format on
};

#undef DO_SEMANTIC_CHECKS_BY_DEFAULT

// clang-format off
${wrapper_functions}$
// clang-format on

namespace ${id}$
{
// clang-format off
${option_names}$

${setdefaults_decl}$
// clang-format on
}

}  // namespace cvc5::options

#endif /* CVC5__OPTIONS__${id_cap}$_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback