Ensure debugging mode is enabled when building tests.
This commit is contained in:
parent
4ae97ddb09
commit
bd384e05d1
@ -781,6 +781,7 @@ Default(libVmime)
|
||||
|
||||
# Tests
|
||||
if env['build_tests'] == 'yes':
|
||||
if env['debug'] == 'yes':
|
||||
libUnitpp = env.StaticLibrary(
|
||||
target = 'tests/unit++',
|
||||
source = libunitpp_sources
|
||||
@ -797,6 +798,9 @@ if env['build_tests'] == 'yes':
|
||||
LIBPATH=['.', './tests/']
|
||||
)
|
||||
)
|
||||
else:
|
||||
print 'Debug mode must be enabled to build tests!'
|
||||
Exit(1)
|
||||
|
||||
|
||||
########################
|
||||
|
Loading…
Reference in New Issue
Block a user