Skip to content

Commit 2363ab9

Browse files
committed
build: remove the staging paths
Clean up the staging that was done to migrate XCTest to CMake.
1 parent d2b45bd commit 2363ab9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,6 @@ add_swift_library(XCTest
107107
-I${XCTEST_PATH_TO_FOUNDATION_BUILD}/Foundation
108108
-I${XCTEST_PATH_TO_FOUNDATION_BUILD}/Foundation/usr/lib/swift)
109109

110-
# Temporary staging; the various swift projects that depend on XCTest all expect
111-
# the swiftdoc and swiftmodule to be in the top level.
112-
# So for now, make a copy so we don't have to do a coordinated commit across
113-
# all the swift projects to change this assumption.
114-
add_custom_command(TARGET
115-
XCTest
116-
POST_BUILD
117-
COMMAND
118-
${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/swift/XCTest.swiftdoc ${CMAKE_CURRENT_BINARY_DIR}
119-
COMMAND
120-
${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/swift/XCTest.swiftmodule ${CMAKE_CURRENT_BINARY_DIR}
121-
COMMENT
122-
"Copying swiftmodule/swiftdoc to build directory")
123-
124110
if(ENABLE_TESTING)
125111
if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
126112
set(LIT_COMMAND "${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py"

0 commit comments

Comments
 (0)