Skip to content

Commit b7400c6

Browse files
committed
configure: remove --xcode switch
Added in commit ac04716 without explanation or bug number. Unclear if there are users. Remove, reinstate if users complain.
1 parent de224d6 commit b7400c6

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

configure

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,6 @@ parser.add_option('--without-ssl',
279279
dest='without_ssl',
280280
help='build without SSL')
281281

282-
parser.add_option('--xcode',
283-
action='store_true',
284-
dest='use_xcode',
285-
help='generate build files for use with xcode')
286-
287282
(options, args) = parser.parse_args()
288283

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

968963
config = {
969964
'BUILDTYPE': 'Debug' if options.debug else 'Release',
970-
'USE_XCODE': str(int(options.use_xcode or 0)),
971965
'PYTHON': sys.executable,
972966
}
973967

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

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

984-
if options.use_xcode:
985-
gyp_args += ['-f', 'xcode']
986-
elif flavor == 'win' and sys.platform != 'msys':
978+
if flavor == 'win' and sys.platform != 'msys':
987979
gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto']
988980
else:
989981
gyp_args += ['-f', 'make-' + flavor]

0 commit comments

Comments
 (0)