Scons: set default_build_mode cleverly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15244 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-10-04 17:37:02 +00:00
parent c53e7a603c
commit b3b65e6f70

View File

@ -59,8 +59,12 @@ package_version = utils.getVerFromConfigure(top_src_dir)
package_cygwin_version = '%s-1' % package_version
boost_version = '1_33_1'
if 'svn' in package_version:
devel_version = True
default_build_mode = 'debug'
else:
devel_version = False
default_build_mode = 'release'
package = 'lyx'
package_bugreport = 'lyx-devel@lists.lyx.org'