CLion / Gradle Native
Answered
Hi!
I've got a C++ project setup with Gradle Native. CLion (2019.1) imports/parses it correctly, but none of the options in the Build menu are enabled. I can Run/Debug the program just fine, but for building/rebuilding/cleaning I have to dip out to a terminal.
Is this expected behaviour? Or is something configured incorrectly?
Please sign in to leave a comment.
Hello!
There is the Gradle tool window (View | Tool Windows | Gradle) where you can create Gradle tasks and run them: https://www.jetbrains.com/help/clion/gradle-support.html#Tasks.
Also in the Build tool window (View | Tool Windows | Build) you can rerun building.
Hi!
Thank you for the detailed reply! :)
Yes, the Gradle tool window works well, of course. I suppose what I expected was that the 'normal' Build menu options would translate to the corresponding Gradle tasks as well. Thank you for clarifying!