New CLion EAP: Boundless opportunities of CMake at your fingertips

Hi everyone,

As many of you know already we are planning to release CLion 1.0 in Q1 2015, thus it’s time for another EAP build with new features and important bug fixes.

In this build we’ve introduced a new feature following the top-voted requests in our tracker. If you open Settings/Preferences menu and select ‘Build, Execution, Deployment’, you’ll see a new page there called CMake:

Here you can:

  • Allow CLion automatically reload your project during editing.
  • Pass any variables to the CMake command.
  • Or any system or custom environment variable of your choice.
  • Specify build options (if nothing is specified, the default setting -j is used) or build output directory.

Pay attention, that these settings are valid for the current project only.

Other noticeable changes include:

  • Project is now reloaded automatically in case of toolchain changes.
  • #ifdef branches can be folded/unfolded now.

The full list of changes can be found in our tracker. Latest build is available on our EAP page.

Looking for tips’n’tricks? View playlist with product related videos on YouTube. Or follow us on twitter.

Sincerely yours,
The CLion Team

This entry was posted in Announcement, Early Access Preview and tagged , . Bookmark the permalink.

35 Responses to New CLion EAP: Boundless opportunities of CMake at your fingertips

  1. Viacheslav says:

    Great news! Most important thing!

  2. wl.nicholas says:

    Very excited that 1.0 is about to come out, finally.

  3. milo hoffman says:

    That’s definitely great, but i think the most important problem for now is performance issues. Hope 1.0 will work fast.

    • Anastasia Kazakova says:

      If you observe them please report to the tracker. We are working continuously on performance, but need to now the samples where the IDE is working slow.

  4. Abhinav Gauniyal says:

    Clion still dosen’t respects any code changes I introduce in my cmakelists.txt file. For example , “set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/build)” , dosen’t works and no build is visible in build directory. Output in clion shows that it still gets generated in cache directory. But putting it in new settings option does builds new exe in build directory.

    • Abhinav Gauniyal says:

      Moreover , changing cmake cache ( View-> Tool Windows -> Cmake ) and then saving it , does nothing. The previous old cache directory returns again.

      • Anastasia Kazakova says:

        To apply changes in Cache press “Apply changes and reload” button. It it doesn’t work, report an issue to our tracker please:

        • Abhinav Gauniyal says:

          Yes , I have already tried pressing “Apply changes and reload” numerous times and as I said , it reverts back to some random cache directory.
          Regarding CMake page in Settings , it works but I have to manually set it for each project.

          As from an IDE , I expect it should take care( manage) of my cmakelists , while smartly choosing my preferred changes over clion’s default( something like Visual studio does ) . Also , not a lot of machines have 8 gb of ram and 8 core of cpu’s. Particularly in my case ( 4gb – intel corei3 2.50ghzx4 ) , even auto completion lags so much that Clion is beyond usage. Moreover those processes that fire up at start ,something like loading symbols… , take almost 20-30 seconds at every load.
          For now , a basic text editor like sublime seems more productive over clion. I’ll be looking forward to clion when it’s released as stable.

    • Anastasia Kazakova says:

      You can set a build dir on this CMake page in Settings. Have you tried it?

  5. oreak says:

    Yes,very excited for 1.0 coming . I wonder if clion will introduce a feature that I can see the assembly code when debuging.

  6. Mikhail says:

    Many users wants to specify their own cmake build directory (also known as cmake cache directory). But it is not possible because CLion is designed to have build directory always in CLion cache dir “.clion”.

    This is very pity, cause you cannot add CLion to existing project workflow. You have two options:
    1. have two different builds: normal build (as you was working before CLion) and CLion’s build for some parts of you project (in most cases you need new CLion setup for each part of project)
    2. use CLion only as source code explorer, something like “write code in CLion, then copy it to separate folder and build there using your current tools”

    More about this here:

  7. Mayukh Sarkar says:

    Every time Clion releases its EAP version & I get disappionted on two simple things.
    1. Capability to build using my own Makefile & bypass CMake.
    2. Make it bit light weight..Although its an IDE not an editor but some features can be made optional because not everybody needs that..It should be as light as when I press arrow keys to move my cursor, there should not be any delay, or any delay during autocompletion popup..
    3. Some features are still absent like multiple cursor, class creator or help on features..Moreover support for boost, c++11/14 standards..

    I like Clion very much because it provides awesome autocompletion features but it needs to be fast & nifty..

    • Anastasia Kazakova says:


      We are sorry you are disappointed. Let me still comment the points one by one:

      1. We are not going to provide Makefiles support earlier than 1.0 is release, we’ll consider other build systems later. We do believe CMake is a powerful system and very popular now. You can find our view on it in this post:

      2. We are working on performance continuously, and in case you observe lags in editor, please, send us the CPU snapshot (this instruction can help you to prepeare it:
      You can also switch off inspections (they try to find problems in your code on-the-flight and suggest you quick fixes). This can be done for some inspections in particular (in Settings | Editor | Inspections), for example DFA can be switched off to make editor performance probably better, or just in Code | Configure current file analysis – switch to Syntax or None level there.

      3. Multicursors are there actually (look through this post for AppCode –, in CLion they work in the same way). Webhelp describing IDE features will be released together with the 1.0 version.
      Create class feature is also on its way to 1.0 release. C++14 is planned for later (won’t come to 1.0 for sure). And what features from C++11 are you missing in the current EAP?

  8. Artur says:

    Hey, I’m glad that I can use your IDE yet before the release. I’m using a 0.5 years old 600€ notebook running with Archlinux and don’t have performance problems (or they are not significant for me to notice). The only things I can critisize is the build directory issue, but that was mentioned before me a couple of times and I’m sure that will be changed in the next release. I look forward for more amazing tools from you. Keep on going, guys (and girls of course) :)

  9. Andrey M. says:

    I have typed in a lengthy response and it has vanished due to server unresponsiveness.
    Overall sense – I’m highly dissatisfied. The only thing that works for me is “goto declaration”, “goto class/file” (not always, sometimes files in project hierarchy are not visible by name but can be opened via references and “goto declaration”).
    Apart from that I’m experiencing huge lags and complete freezes.

    • Anastasia Kazakova says:

      We are really sorry you are not happy with the CLion. Please, check that all the source and headers files are in project from the CLion’s point of view, otherwise they are greyed out in the project tree. Most probably this is the source of the problem. Files need to be pointed as source files in CMakeLists.txt. If they are in project and some goto actions are still not working, is it possible to share a project to us (to our support or create a sample project to reproduce the problem?
      With the freezes, first check CLion has enough memory for your project – switch the memory indicator on in Preferences/Settings -> Appearance & Behavior -> Appearance -> Show memory indicator. If it’s not, then try to increase the xmx (follow the instruction here: If it’s sufficient amount of memory but lags & freezes are still there, then send us a CPU snapshot ( This can help us to investigate and fix the problem.

      • Andrey M. says:

        Unfortunately I can’t share the project, I’ll try to reproduce the code intelligence issues I’m experiencing in a minimalistic project and will let you know.
        I will also try to check memory usage and capture some snapshots when I’m back to work.

        How is it possible that some files are not visible from CLion’s perspective if it uses the same CMakeLists.txt I am using for building?

        • Andrey M. says:

          Wait, you’re stating that I should add header files to CMake target source files along with implementation files? Is there a way to do that automatically?

        • Anastasia Kazakova says:

          It maybe headers, that are not included from the CLion point of view. Still it can be built successfully in that case. We are going to fix it later anyway.

  10. pierre says:

    The previous CLion EAP build was fast enough to work with. This new build is much slower, and gets stuck more often. I’m using CLion since the first EAP build, and this release is a big step backward in term of speed, and usability.
    Note: I have even disabled all the code analysis features.

  11. Vic says:

    I can’t believe how well 1.0 is shaping up to be. Fantastic work. Amazing work!

    But please focus on the debugger – not being able to easily see inside std:: containers, etc, is just so 1990’s.

  12. Andrey M. says:

    Are there any plans to fix auto-complete for template symbols where type deduction is impossible?
    It works for casts, but they’re builtin, I expect that typing “std::make_sh” and pressing C+ will automatically add a pair of angle brackets, but at the moment of this writing the result is:
    The fact that the first template type parameter cannot be deduced is established pretty easily.

  13. Ries says:

    Very happy about cLion and I am looking forward for 1.0!
    It’s still slowish at some odd’s and ends but overall vast enough for may daily c++ fun.

    There is currently one item that simply freezes cLion and it’s impossible to do anything then ‘Force quit’ it. Hopefully that will be solved in 1.0.

    note:c++ is not my daily bread so I properly don’t mis some of the advanced features.

  14. George says:

    I’m trying to import a very large C project and the IDE stays at Loading CMake project forever and options like Find Usages doesn’t work..

  15. Alex says:

    I try to pass the CC and CXX env variables in this way to use gcc instead of clang, but when I run ‘debug’ I still get errors from clang being run!

    • Anastasia Kazakova says:

      Try to pass the following parameters in Preferences/Settings | Build, Execution, Deployment | CMake | CMake options:

      Check that corresponding CMake cache variables will be overwritten correctly in CMakeCache tab of the CMake tool window after CMake finishes reloading.

Leave a Reply

Your email address will not be published. Required fields are marked *