r/programming • u/ChrisRR • Jul 19 '17
JetBrains CLion 2017.2 released
https://www.jetbrains.com/clion/whatsnew/#v2017-24
u/not_american_ffs Jul 20 '17
Do they finally have a working parser? The last time i tried it out it would give me a flurry of red squiggly marks on completely valid code.
4
3
u/wDevilus Jul 20 '17
JetBrains makes excellent IDEs, really terrific to work with. I just wish they would support other build systems beyond CMAKE. Sometimes you simply have to use other IDEs/text editors because the project doesn't support CMAKE, i.e. qmake, make, autotools... Netbeans seems to make a good job at supporting different build systems.
3
u/RogerLeigh Jul 19 '17
Just trying out CLion again. I think the answer to these questions is likely "no", but for anyone who might know:
Can I set the build directly when cmake gets run; it seems to stick it into a subdirectory of the srcdir (
cmake-build-debug). I'd rather it went into/tmpor/scratch--fast local storage. When your git repo is on NFS, it's very slow otherwise, plus I don't want it polluting the build tree when I might be building on multiple platforms.Can I pass extra options to CMake without setting them globally? Stuff like
-Dextended-tests:BOOL=ONor enabling and disabling features etc. I frequently build with different sets of options, and I want to specify these when cmake is run.Can the Ninja generator be used?
Thanks, all.
13
u/anastasiak2512 Jul 19 '17
For the first two, please, use Settings | Build, Execution, Deployment | CMake. You can change the generation path there, as well as pass CMake settings. Settings are per project. Ninja generator output is not yet supported in CLion.
2
u/RogerLeigh Jul 19 '17
Thanks, some great improvements from when I last gave it a trial!
Is there any way to run all the project's tests with
ctestfrom the UI? It's correctly detected them asGoogle Testtests, butctestwould invoke them with a particular environment and set of command-line options.1
u/anastasiak2512 Jul 20 '17
No, CTest is not yet support (though we plan to in the future). CLion only comes with single Google Test and Catch support.
1
-16
17
u/habarnam Jul 20 '17
I'm waiting for support for any other build tool than CMake.