2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
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.
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.
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/>.
20 #include "file-path.hh"
24 * Global options that can be overridden through command line.
27 /* Names of header fields to be dumped to a separate file. */
28 vector<string> dump_header_fieldnames_global;
30 /* Name of initialisation file. */
31 string init_name_global;
33 /* Output formats to generate. */
34 string output_format_global = "";
36 /* Generate big pdfs */
39 /* Current output name. */
40 string output_name_global;
42 /* Run in safe mode? */
43 bool be_safe_global = false;
45 /* Scheme code to execute before parsing, after .scm init.
46 This is where -e arguments are appended to. */
47 string init_scheme_code_global;
48 string init_scheme_variables_global;
50 bool relocate_binary = true;
53 * Miscellaneous global stuff.
55 File_path global_path;
57 /* Where the init files live. Typically:
58 LILYPOND_DATADIR = /usr/share/lilypond
60 string lilypond_datadir;
62 vector<string> start_environment_global;