Skip to content

Commit fd94d06

Browse files
committed
Update Windows Build Scripts
1 parent 82fa3ad commit fd94d06

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

utils/build-windows.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ cmake^
282282
-DCMAKE_EXE_LINKER_FLAGS:STRING=/INCREMENTAL:NO^
283283
-DCMAKE_SHARED_LINKER_FLAGS:STRING=/INCREMENTAL:NO^
284284
-DSWIFT_LIT_ARGS="--time-tests"^
285+
-DSWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE:PATH=%source_root%\swift-syntax^
285286
-S "%source_root%\swift" %exitOnError%
286287

287288
cmake --build "%build_root%\swift" %exitOnError%

utils/swift_build_support/swift_build_support/build_script_invocation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def convert_to_impl_arguments(self):
248248
swift_syntax_src = os.path.join(self.workspace.source_root,
249249
"swift-syntax")
250250
args.extra_cmake_options.append(
251-
'SWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE:PATH={}'.format(swift_syntax_src))
251+
'-DSWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE:PATH={}'.format(swift_syntax_src))
252252

253253
# Then add subproject install flags that either skip building them /or/
254254
# if we are going to build them and install_all is set, we also install

0 commit comments

Comments
 (0)