]> git.donarmstrong.com Git - lilypond.git/blob - lily/global-vars.cc
Run grand-replace (issue 3765)
[lilypond.git] / lily / global-vars.cc
1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3
4   Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
5
6   LilyPond is free software: you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation, either version 3 of the License, or
9   (at your option) any later version.
10
11   LilyPond is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #include "file-path.hh"
21 #include "main.hh"
22
23 /*
24  * Global options that can be overridden through command line.
25  */
26
27 /* Names of header fields to be dumped to a separate file. */
28 vector<string> dump_header_fieldnames_global;
29
30 /* Name of initialisation file. */
31 string init_name_global;
32
33 /* Output formats to generate.  */
34 string output_format_global = "";
35
36 /* Current output name. */
37 string output_name_global;
38
39 /* Run in safe mode? */
40 bool be_safe_global = false;
41
42 /* Scheme code to execute before parsing, after .scm init.
43    This is where -e arguments are appended to.  */
44 string init_scheme_code_global;
45 string init_scheme_variables_global;
46
47 bool relocate_binary = true;
48
49 /*
50  * Miscellaneous global stuff.
51  */
52 File_path global_path;
53
54 /* Where the init files live.  Typically:
55    LILYPOND_DATADIR = /usr/share/lilypond
56 */
57 string lilypond_datadir;
58
59 vector<string> start_environment_global;