mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update README for new target names
This commit is contained in:
@@ -241,7 +241,7 @@ various products. These incremental builds are a big timesaver when developing
|
||||
and debugging.
|
||||
|
||||
cd ${SWIFT_BUILD_DIR}
|
||||
ninja swift
|
||||
ninja compiler
|
||||
|
||||
This will build the Swift compiler, but will not rebuild the standard library or
|
||||
any other target. Building the `swift-stdlib` target as an additional layer of
|
||||
@@ -250,6 +250,10 @@ library, run:
|
||||
|
||||
ninja swift-stdlib
|
||||
|
||||
To build just the compiler frontend, run:
|
||||
|
||||
ninja swift-frontend
|
||||
|
||||
It is always a good idea to do a full build after using `update-checkout`.
|
||||
|
||||
#### Using Xcode
|
||||
@@ -258,7 +262,7 @@ To open the Swift project in Xcode, open `${SWIFT_BUILD_DIR}/Swift.xcodeproj`.
|
||||
It will auto-create a *lot* of schemes for all of the available targets. A
|
||||
common debug flow would involve:
|
||||
|
||||
- Select the 'swift' scheme.
|
||||
- Select the 'swift-frontend' scheme.
|
||||
- Pull up the scheme editor (⌘⇧<).
|
||||
- Select the 'Arguments' tab and click the '+'.
|
||||
- Add the command line options.
|
||||
|
||||
Reference in New Issue
Block a user