debug flag for session destruction and waf option for boost SP debug
git-svn-id: svn://localhost/ardour2/branches/3.0@6171 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
40c4655793
commit
b0e41486f3
@ -85,6 +85,7 @@ list_debug_options ()
|
||||
cerr << "\tConfiguration\n";
|
||||
cerr << "\tLatency\n";
|
||||
cerr << "\tGraph\n";
|
||||
cerr << "\tDestruction\n";
|
||||
}
|
||||
|
||||
static int
|
||||
@ -126,6 +127,8 @@ parse_debug_options (const char* str)
|
||||
bits |= ARDOUR::DEBUG::Processors;
|
||||
} else if (strncasecmp (p, "graph", strlen (p)) == 0) {
|
||||
bits |= ARDOUR::DEBUG::Graph;
|
||||
} else if (strncasecmp (p, "destruction", strlen (p)) == 0) {
|
||||
bits |= ARDOUR::DEBUG::Destruction;
|
||||
}
|
||||
|
||||
p = strtok_r (0, ",", &sp);
|
||||
|
@ -42,7 +42,8 @@ namespace ARDOUR {
|
||||
Configuration = 0x10,
|
||||
Latency = 0x20,
|
||||
Processors = 0x40,
|
||||
Graph = 0x80
|
||||
Graph = 0x80,
|
||||
Destruction = 0x100
|
||||
};
|
||||
}
|
||||
|
||||
|
4
wscript
4
wscript
@ -314,6 +314,8 @@ def set_options(opt):
|
||||
help='Architecture-specific compiler flags')
|
||||
opt.add_option('--aubio', action='store_true', default=True, dest='aubio',
|
||||
help="Use Paul Brossier's aubio library for feature detection (if available)")
|
||||
opt.add_option('--boost-sp-debug', action='store_true', default=False, dest='boost_sp_debug',
|
||||
help='Compile with Boost shared pointer debugging')
|
||||
opt.add_option('--audiounits', action='store_true', default=False, dest='audiounits',
|
||||
help='Compile with Apple\'s AudioUnit library (experimental)')
|
||||
opt.add_option('--coreaudio', action='store_true', default=False, dest='coreaudio',
|
||||
@ -402,6 +404,8 @@ def configure(conf):
|
||||
conf.env.append_value('CXXFLAGS_OSX', "-F/System/Library/Frameworks")
|
||||
conf.env.append_value('CCFLAGS_OSX', "-F/System/Library/Frameworks")
|
||||
|
||||
if Options.options.boost_sp_debug:
|
||||
conf.env.append_value('CXXFLAGS', '-DBOOST_SP_ENABLE_DEBUG_HOOKS')
|
||||
|
||||
if Options.options.gtkosx:
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user