mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is the start of the removal of the C++ implementation of libSyntax in favor of the new Swift Parser and Swift Syntax libraries. Now that the Swift Parser has switched the SwiftSyntaxParser library over to being a thin wrapper around the Swift Parser, there is no longer any reason we need to retain any libSyntax infrastructure in the swift compiler. As a first step, delete the infrastructure that builds lib_InternalSwiftSyntaxParser and convert any scripts that mention it to instead mention the static mirror libraries. The --swiftsyntax build-script flag has been retained and will now just execute the SwiftSyntax and Swift Parser builds with the just-built tools.
21 lines
708 B
CMake
21 lines
708 B
CMake
|
|
set(SWIFT_HOST_VARIANT_SDK WINDOWS CACHE STRING "")
|
|
set(SWIFT_HOST_VARIANT_ARCH i686 CACHE STRING "")
|
|
|
|
# NOTE(compnerd) disable the tools, we are trying to build just the standard
|
|
# library.
|
|
set(SWIFT_INCLUDE_TOOLS NO CACHE BOOL "")
|
|
|
|
# NOTE(compnerd) cannot build tests since the tests require the toolchain
|
|
set(SWIFT_INCLUDE_TESTS NO CACHE BOOL "")
|
|
|
|
# NOTE(compnerd) cannot build docs since that requires perl
|
|
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
|
|
|
|
# NOTE(compnerd) these are part of the toolchain, not the runtime.
|
|
set(SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "")
|
|
|
|
# NOTE(compnerd) build with the compiler specified, not a just built compiler.
|
|
set(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "")
|
|
|