2
The package provides a single command for the management of global
3
settings, i.e. configuration options which are independent of any
6
[para] It is expected that this command is irrelevant to anybody just
7
wishing to write a [file .critcl] file. It is a management command
8
which is only useful to the [manpage {CriTcl Application}] or similar
11
[list_begin definitions]
13
[call [cmd ::critcl::config] [arg option] [opt [arg val]]]
15
This command sets and returns critcl's global configuration options. These are
20
This flag tells the package whether it should force the building of C
21
files despite having a cached shared library (when [const true], or
22
not. The default is [const off].
26
This flag tells the package whether to embed #line directives into the
27
generated C code (when [const true]) or not. By default this is [const on].
29
[include rq_cline.inc]
31
[para] Developers of higher-level packages generating their own C
32
code, either directly, or indirectly, by using critcl commands, should
33
also read section [sectref {Advanced: Location management}] to see how
34
critcl helps them in generating their directives.
36
Examples of such packages come with critcl itself, see the packages
37
[package critcl::iassoc] and [package critcl::class].
41
A single global include path to use for all files. Not set by default.
43
[opt_def combine enum]
44
[list_begin definitions]
47
Object files have the suffix [const _pic].
51
Object files have the suffix [const _stub].
53
[def [const standalone]]
55
Object files have no suffix, and the generated C files are compiled
56
without using Tcl/Tk stubs. The result are object files usable for
57
static linking into a [term {big shell}].
61
The default is [const dynamic].
64
[opt_def language string]
65
[opt_def keepsrc bool]
67
This flag tells the package whether to keep the generated [file .c]
68
files after it has build their [file .o] files (when [const true]), or
69
not. The default is [const off].
73
The path where to place a generated shared library. Not set by
74
default, causing placement into the [sectref {Result Cache}].