swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.25k stars 10.32k forks source link

Make CMake build assume SWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE location #62291

Open ktoso opened 1 year ago

ktoso commented 1 year ago

Now we have to pass it explicitly which makes explicit cmake invocations, or using IDEs like CLion, VSCode which need invoke cmake to configure annoying. See: https://github.com/apple/swift/pull/62252

It would be better if the build can assume that swift syntax is located in the same directory as swift (i.e. <swift-project>/swift/../swift-syntax), that would make setup easier.

ktoso commented 1 year ago

rdar://102752806