Open knimix opened 1 year ago
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
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.
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.