Skip to content

[Guide] Add guide to set up CLion for compiler development #42175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 5, 2022
Merged

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Apr 5, 2022

Added information how to set up CLion for compiler development.

Adding upon request from @shahmishal, since some other people may be wanting to work on Swift on platforms where there is no Xcode etc. :-)

@ktoso ktoso requested a review from shahmishal April 5, 2022 01:21
@ktoso
Copy link
Contributor Author

ktoso commented Apr 5, 2022

Thanks @buttaface

@ktoso
Copy link
Contributor Author

ktoso commented Apr 5, 2022

@swift-ci please smoke test

@WowbaggersLiquidLunch
Copy link
Contributor

The way I use CLion with this project is building the compiler using Ninja first, then open the build directory directly in CLion. CMake options are automatically set to only -G "Ninja", which is much fewer than what's suggested in the guide. With my limited experience, this works fine. Can this be added to the guide as an alternative approach to first-time setup?

@ktoso
Copy link
Contributor Author

ktoso commented Apr 5, 2022

I got to this working a while ago and never poked at it anymore since -- feel free to edit the guide and suggest changes! 👍

@ktoso
Copy link
Contributor Author

ktoso commented Apr 5, 2022

@swift-ci please smoke test

@ktoso ktoso merged commit cc26e15 into main Apr 5, 2022
@ktoso ktoso deleted the ktoso-patch-11 branch April 5, 2022 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants