Skip to content

Commit

Permalink
configure: remove --xcode switch
Browse files Browse the repository at this point in the history
Added in commit ac04716 without explanation or bug number.  Unclear if
there are users.  Remove, reinstate if users complain.
  • Loading branch information
bnoordhuis committed Jan 17, 2015
1 parent de224d6 commit b7400c6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,6 @@ parser.add_option('--without-ssl',
dest='without_ssl',
help='build without SSL')

parser.add_option('--xcode',
action='store_true',
dest='use_xcode',
help='generate build files for use with xcode')

(options, args) = parser.parse_args()

# set up auto-download list
Expand Down Expand Up @@ -967,7 +962,6 @@ write('config.gypi', do_not_edit +

config = {
'BUILDTYPE': 'Debug' if options.debug else 'Release',
'USE_XCODE': str(int(options.use_xcode or 0)),
'PYTHON': sys.executable,
}

Expand All @@ -981,9 +975,7 @@ write('config.mk',

gyp_args = [sys.executable, 'tools/gyp_node.py', '--no-parallel']

if options.use_xcode:
gyp_args += ['-f', 'xcode']
elif flavor == 'win' and sys.platform != 'msys':
if flavor == 'win' and sys.platform != 'msys':
gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto']
else:
gyp_args += ['-f', 'make-' + flavor]
Expand Down

0 comments on commit b7400c6

Please sign in to comment.