mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously, we used SWIFT_INCLUDE_TESTS to control if we created build rules for binaries just used to test as well as running the tests as well. In this commit, I changed this behavior by adding an option called SWIFT_INCLUDE_TEST_BINARIES. This will allow for the stage 1 swift build to build and install test binaries into the just built toolchain for use by the stage 2 swift that builds the stdlib.
6 lines
245 B
CMake
6 lines
245 B
CMake
# Keep in sync with test/CMakeLists.txt: swift-reflection-test is
|
|
# only used when testing dynamic stdlib.
|
|
if(SWIFT_BUILD_DYNAMIC_STDLIB AND (SWIFT_INCLUDE_TESTS OR SWIFT_INCLUDE_TEST_BINARIES))
|
|
add_subdirectory(swift-reflection-test)
|
|
endif()
|