diff --git a/libs/temporal/debug.cc b/libs/temporal/debug.cc new file mode 100644 index 0000000000..c8914384aa --- /dev/null +++ b/libs/temporal/debug.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2020 Paul Davis + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + + +#include "temporal/debug.h" + +using namespace std; + +PBD::DebugBits PBD::DEBUG::TemporalMap = PBD::new_debug_bit ("TemporalMap"); +PBD::DebugBits PBD::DEBUG::TemporalDomainConvert = PBD::new_debug_bit ("TemporalDomainConvert"); diff --git a/libs/temporal/wscript b/libs/temporal/wscript index b63d2b056e..573afe1588 100644 --- a/libs/temporal/wscript +++ b/libs/temporal/wscript @@ -24,7 +24,14 @@ APPNAME = 'temporal' VERSION = TEMPORAL_VERSION I18N_PACKAGE = 'libtemporal' -temporal_sources = [ 'time.cc', 'bbt_time.cc', 'tempo.cc', 'timeline.cc', 'superclock.cc' ] +temporal_sources = [ + 'debug.cc', + 'bbt_time.cc', + 'tempo.cc', + 'time.cc', + 'timeline.cc', + 'superclock.cc' +] def options(opt): autowaf.set_options(opt)