2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 1997--2010 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/>.
22 #include "lily-proto.hh"
23 #include "std-vector.hh"
24 #include "std-string.hh"
27 void set_debug (bool);
30 void add_score (Score *s);
31 void set_default_output (string s);
32 string find_file (string);
33 void call_constructors ();
34 vector<string> get_inclusion_names ();
35 void set_inclusion_names (vector<string>);
37 extern string init_name_global;
40 extern vector<string> dump_header_fieldnames_global;
41 extern vector<string> start_environment_global;
42 extern string output_backend_global;
43 extern string output_name_global;
44 extern bool be_safe_global;
45 extern bool be_verbose_global;
46 extern bool do_internal_type_checking_global;
47 extern bool point_and_click_global;
48 extern string lilypond_datadir;
49 extern bool use_object_keys;
50 extern bool strict_infinity_checking;
51 extern string init_scheme_code_global;
52 extern string init_scheme_variables_global;
55 todo: collect in Output_option struct?
57 extern string output_format_global;
60 extern vector<string> failed_files;
61 extern int exit_status_global;
62 extern File_path global_path;
63 extern const char *LILYPOND_DATADIR;
67 Debugging options: switch on
69 Cannot switch on -DNDEBUG, because it causes weird errors if you mix
70 DNDEBUG and normal builds.
73 #define DEBUG_SLUR_SCORING 1
74 #define DEBUG_TIE_SCORING 1
75 #define DEBUG_BEAM_SCORING 1