Skip to content
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

Question: What is the current status? #139

Open
knimix opened this issue Aug 7, 2023 · 2 comments
Open

Question: What is the current status? #139

knimix opened this issue Aug 7, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@knimix
Copy link

knimix commented Aug 7, 2023

I have seen that the clion plugin for conan seems to be built quite actively. Is there a date when the whole thing will get a release?
I have already built the whole plugin myself and it worked quite well at first glance. One function I haven't found yet is changing profiles so that I can also compile android in clion, for example.

But I would just be interested to know what the current status is, because I think a functioning conan integration for clion would be really great.

@AbrilRBS
Copy link
Member

AbrilRBS commented Aug 8, 2023

Hi @knimix thanks a lot for your interest and early feedback, it's super appreciated :)

The plugin is, as you've seen, work on the new plugin version is almost completed! We will be focusing on releasing it in the next few weeks if everything goes to plan, so stay tuned for it.

One function I haven't found yet is changing profiles so that I can also compile android in clion, for example.

What would you want the plugin to handle for your cross-compilation setup? Are the settings defined from CLion that then get passed to Conan not enough? If so, in which way?

Sorry about so many questions, but we have tried to make the plugin functionality cater to a prototypical "basic" user, extra functionally needs to be considered from that pov

@AbrilRBS AbrilRBS added the question Further information is requested label Aug 8, 2023
@AbrilRBS AbrilRBS self-assigned this Aug 8, 2023
@knimix
Copy link
Author

knimix commented Aug 9, 2023

Hello, thank you for your answer.
Android compiling in CLion is not very nicely done, because I have to set the compilers manually and then some CMake flags. However, with conan I can execute the following command in my project folder:
conan install . --output-folder=build-debug --build=missing -s build_type=Debug --profile=android.

I don't know why, but conan then generates a "CMakeUserPresets.json". This can be read by Clion! If I then go into the settings under profiles, I suddenly find a conan profile and I have to activate this manually. The advantage is that conan sets everything for me here, i.e. compiler + cmake flags, and I can simply switch by executing the command again but with a different profile. I would like to see something like that for the plugin too. The disadvantage of the current system is that you have to execute the command again and again when you add a library, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants