RFR: 8338290: Xcode project generator for hotspot

Gerard Ziemski gziemski at openjdk.org
Wed Aug 21 12:34:37 UTC 2024


On Tue, 13 Aug 2024 09:57:51 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Add a make target to generate an Xcode project file for Hotspot. 
> 
> This PR is the result of a cooperation between me and @gerard-ziemski. Gerard developed the original Xcode generator (as a stand-alone project in https://github.com/gerard-ziemski/xcode), and I have written the build system "glue" to integrate it, and refactored the code to modern JDK standards.
> 
> Usage: Run `make hotspot-xcode-project`, and an Xcode project file will be generated in `build/$BUILD/xcode`. You can also have this automatically opened in Xcode by `make open-hotspot-xcode-project` (but note that for repeated runs of this, `make open-hotspot-xcode-project-only` is greatly preferred).

A note for reviewers: I have been personally using this for 7 years with minimum fixes or any upgrades required. The generator code creates Xcode project, which I reverse engineered. At the time that I was developing it, there were not any great options for automatic generation of Xcode projects, so I wrote my own, hoping that the internal details of the Xcode project will not change. This has proven to be the case so far.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20564#issuecomment-2286520226


More information about the ide-support-dev mailing list