-
Notifications
You must be signed in to change notification settings - Fork 255
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
How can you pass conan command line options when using CLion's conan plugin? #565
Comments
Hi @rturrado - thanks for your questions. We have recently merged: #567 Which allows you to customise the Conan profiles. While this does not let you customize the command line invocation, most of the settings/options you have in your example:
can be set in a profile file (with the exception of the
if this file is saved in Please let us know if this helps! |
Hi @jcar87, Many thanks to you for your great work and support! A couple of questions:
Many thanks! |
Hi @rturrado - |
Wow! Many thanks for your answer!
Again, great work and support, guys! |
Hi guys, I have tried this today, and:
It may well be that something is wrong with my system. I work on WSL 2 and it's a bit of a headache everyday (root user, permission errors from within CLion until you reboot WSL...). But this is my real current feedback anyway. Thanks! |
Hi all,
Sorry if this question doesn't belong here. I believe the CLion's conan plugin uses cmake-conan (as stated here), but this may well be more an issue of the plugin than of cmake-conan.
Let's say I have a conan command line such as:
Is there a way to pass all or some of those options to the plugin?
At the moment, I can only think of setting them directly as CMake flags. One of the problems with that is that, for example, if I'm requiring
gtest
in theconanfile.py
depending on the command line optionbuild_tests
, that check will always be false.Thanks!
The text was updated successfully, but these errors were encountered: