Make it possible to override VER_FLAGS from the command-line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-06-05 16:00:19 +00:00
parent 88bb598337
commit b6fe9de819

View File

@ -271,7 +271,8 @@ for flag in [ 'BUILD_ACTIVEX', 'BUILD_ANIMATE', 'BUILD_DLLWIDGET',
# String options
for option in ['WX_CONFIG', 'SYS_WX_CONFIG', 'WXDLLVER', 'BUILD_BASE',
'WXPORT', 'SWIG', 'CONTRIBS_INC', 'WXPY_SRC', 'FLAVOUR',
'WXPORT', 'SWIG', 'CONTRIBS_INC', 'WXPY_SRC', 'FLAVOUR',
'VER_FLAGS',
]:
for x in range(len(sys.argv)):
if sys.argv[x].find(option) == 0: