Commit Graph

15 Commits

Author SHA1 Message Date
Hamish Knight
2199031b0f [xcodegen] Allow buildable folders in more cases
We can define exceptions to handle targets with sources that either
have unique arguments or are unbuildable. Eventually this ought to
allow us to ditch the "no outside-target source file" rule, but I'm
leaving that be for now since ideally we'd handle automatically
splitting up umbrella Clang targets such as `stdlib` such that e.g
`swiftCore` is its own buildable folder instead of an exception.
2025-05-04 20:46:20 +01:00
Alex Martini
633f101e0a Fix double 'the the' in various places 2025-02-14 17:27:51 -08:00
Hamish Knight
d260bd8ddb [build-script] Remove Xcode generation support
This was quite brittle and has now been superseded
by swift-xcodegen. Remove the CMake/build-script
logic for it, leaving the option behind to inform
users to switch to using xcodegen instead.
2025-02-12 12:19:21 +00:00
Hamish Knight
5408b1643a [xcodegen] Add support for new 'Runtimes' build
Generate a new 'SwiftRuntimes' xcodeproj if a build directory
for 'Runtimes' is specified with `--runtimes-build-dir`, along with a
combined 'Swift+Runtimes' workspace.
2024-12-14 21:28:59 +00:00
Hamish Knight
7f313a6621 Merge pull request #77791 from hamishknight/enable-buildable-folders 2024-12-02 09:19:47 +00:00
Hamish Knight
e04efdd2bb [xcodegen] Enable buildable folders by default
I've been living on this for a bit without issue,
enable by default.
2024-11-29 16:05:12 +00:00
Hamish Knight
b0d91b016c Fix typo
Co-authored-by: Jamie <2119834+jamieQ@users.noreply.github.com>
2024-11-22 16:00:09 +00:00
Hamish Knight
ac4d52d5c3 [xcodegen] Update help text for --stdlib-swift
Clarify why a development snapshot is needed
for stdlib Swift targets.
2024-11-22 15:50:36 +00:00
Hamish Knight
9a53db6b9a [xcodegen] Add --buildable-folders
This enables the use of folder references for
compatible targets, allowing new source files to
be added without needing to regenerate the project.
Currently disabled by default; I'd like to get
some living-on before enabling.
2024-11-09 20:16:45 +00:00
Hamish Knight
a596880b65 [xcodegen] Add --prefer-folder-refs flag 2024-11-09 20:01:37 +00:00
Hamish Knight
9e657eeb87 [xcodegen] Update README
Make it a bit clearer that `utils/generate-xcode` is
a convenience for the `swift-xcodegen` script in this
directory.
2024-11-06 20:33:25 +00:00
Hamish Knight
8e9df5c113 Merge pull request #77421 from hamishknight/update-readme
[xcodegen] Remove todo items from README
2024-11-06 19:21:26 +00:00
Hamish Knight
9368985434 [xcodegen] Remove todo items from README
These are now tracked with GitHub issues.
2024-11-06 15:10:37 +00:00
Hamish Knight
94b744ce4f [xcodegen] Fix typo 2024-11-06 12:20:44 +00:00
Hamish Knight
03d8ea5248 Introduce swift-xcodegen
This is a tool specifically designed to generate
Xcode projects for the Swift repo (as well as a
couple of adjacent repos such as LLVM and Clang).
It aims to provide a much more user-friendly experience
than the CMake Xcode generation (`build-script --xcode`).
2024-11-05 22:42:10 +00:00