File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1626,6 +1626,8 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
1626
1626
# INSTALL_DIR "${CMAKE_BINARY_DIR}/"
1627
1627
1628
1628
DEPENDS PopulateRuntimeSourceDir
1629
+ # To ensure incremental builds work as expected
1630
+ BUILD_ALWAYS 1
1629
1631
CMAKE_ARGS
1630
1632
-DCMAKE_INSTALL_LIBDIR:FILEPATH=lib
1631
1633
# Compiler will see mismatched swift modules and fail initial checks
@@ -1657,6 +1659,8 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
1657
1659
INSTALL_DIR "${INSTALL_DIR} "
1658
1660
INSTALL_COMMAND ""
1659
1661
LIST_SEPARATOR "|"
1662
+ # To ensure incremental builds work as expected
1663
+ BUILD_ALWAYS 1
1660
1664
CMAKE_ARGS
1661
1665
-DSwift_ENABLE_RUNTIMES=StringProcessing
1662
1666
-DBUILD_SHARED_LIBS=YES
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ if(SwiftRuntime_ENABLE_stringprocessing)
51
51
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR} /StringProcessing"
52
52
INSTALL_DIR "${CMAKE_INSTALL_PREFIX} "
53
53
INSTALL_COMMAND ""
54
+ # To ensure incremental builds work as expected
55
+ BUILD_ALWAYS 1
54
56
CMAKE_ARGS
55
57
${COMMON_OPTIONS} )
56
58
endif ()
@@ -62,6 +64,8 @@ if(SwiftRuntime_ENABLE_synchronization)
62
64
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR} /Synchronization"
63
65
INSTALL_DIR "${CMAKE_INSTALL_PREFIX} "
64
66
INSTALL_COMMAND ""
67
+ # To ensure incremental builds work as expected
68
+ BUILD_ALWAYS 1
65
69
CMAKE_ARGS
66
70
${COMMON_OPTIONS} )
67
71
endif ()
You can’t perform that action at this time.
0 commit comments