mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
scons/SConstruct: disable assertions for stable releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
646b2e9ee2
commit
b618c03d90
@ -753,7 +753,7 @@ utils.createConfigFile(conf,
|
|||||||
#('newapis.h', 'HAVE_NEWAPIS_H', 'c'),
|
#('newapis.h', 'HAVE_NEWAPIS_H', 'c'),
|
||||||
],
|
],
|
||||||
custom_tests = [
|
custom_tests = [
|
||||||
(env.has_key('assertions') and env['assertions'],
|
(env.has_key('assertions') and env['assertions'] and devel_version,
|
||||||
'ENABLE_ASSERTIONS',
|
'ENABLE_ASSERTIONS',
|
||||||
'Define if you want assertions to be enabled in the code'
|
'Define if you want assertions to be enabled in the code'
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user